Hakan Sahin
Jul 30, 2017 · 1 min read

I receive an error at this point:

var wlan = require('./wlan')();node_modules\wlan\index.js:4
throw new TypeError('Expected a string');
at module.exports (d:\...\NodejsConsoleApp1\node_modules\wlan\index.js:4:9) at Object.<anonymous> (d:\...\NodejsConsoleApp1\app.js:8:27)
at Module._compile (module.js:566:14)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Function.Module.runMain (module.js:605:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:575:3
Waiting for the debugger to disconnect...

Do you know the reason? Thanks.

    Hakan Sahin

    Written by

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade