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.