$ node sender.js
D:\projects\chrome-dash\node_modules\bindings\bindings.js:96
throw err
^
Error: Could not locate the bindings file. Tried:
→ D:\projects\chrome-dash\node_modules\node-expat\build\node_expat.node
→ D:\projects\chrome-dash\node_modules\node-expat\build\Debug\node_expat.node
→ D:\projects\chrome-dash\node_modules\node-expat\build\Release\node_expat.node
→ D:\projects\chrome-dash\node_modules\node-expat\out\Debug\node_expat.node
→ D:\projects\chrome-dash\node_modules\node-expat\Debug\node_expat.node
→ D:\projects\chrome-dash\node_modules\node-expat\out\Release\node_expat.node
→ D:\projects\chrome-dash\node_modules\node-expat\Release\node_expat.node
→ D:\projects\chrome-dash\node_modules\node-expat\build\default\node_expat.node
→ D:\projects\chrome-dash\node_modules\node-expat\compiled\8.4.0\win32\x64\node_expat.node
at bindings (D:\projects\chrome-dash\node_modules\bindings\bindings.js:93:9)
at Object.<anonymous> (D:\projects\chrome-dash\node_modules\node-expat\lib\node-expat.js:4:32)
at Module._compile (module.js:573:30)
at Object.Module._extensions..js (module.js:584:10)
at Module.load (module.js:507:32)
at tryModuleLoad (module.js:470:12)
at Function.Module._load (module.js:462:3)
at Module.require (module.js:517:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (D:\projects\chrome-dash\node_modules\xml2json\lib\xml2json.js:1:75)
my code
let chromecast = require('chromecast')()
const log = console.log
chromecast.discover()
chromecast.on('device', function (device) {
log('discovered', device)
})
Cant search of devices
node: v8.4.0 os: windows 10
my code