Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Could not locate the bindings file #7

Open
koenverburg opened this issue Dec 11, 2017 · 0 comments
Open

Error: Could not locate the bindings file #7

koenverburg opened this issue Dec 11, 2017 · 0 comments

Comments

@koenverburg
Copy link

Cant search of devices

node: v8.4.0
os: windows 10

$ 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)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant