new NodeJS and npm versions
See original GitHub issueHi.
Just got updated to new Node.Js and NPM versions and Homebrigde refuses to lunch
0|homebrid | Error: The module ‘/usr/lib/node_modules/homebridge/node_modules/mdns/build/Release/dns_sd_bindings.node’
0|homebrid | was compiled against a different Node.js version using
0|homebrid | NODE_MODULE_VERSION 51. This version of Node.js requires
0|homebrid | NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
0|homebrid | the module (for instance, using npm rebuild
or npm install
).
0|homebrid | at Object.Module._extensions…node (module.js:598:18)
0|homebrid | at Module.load (module.js:503:32)
0|homebrid | at tryModuleLoad (module.js:466:12)
0|homebrid | at Function.Module._load (module.js:458:3)
0|homebrid | at Module.require (module.js:513:17)
0|homebrid | at require (internal/module.js:11:18)
0|homebrid | at Object.<anonymous (/usr/lib/node_modules/homebridge/node_modules/mdns/lib/dns_sd.js:24:20)
0|homebrid | at Module._compile (module.js:569:30)
0|homebrid | at Object.Module._extensions…js (module.js:580:10)
0|homebrid | at Module.load (module.js:503:32)
$ node -v v8.0.0 $ npm -v 5.0.0
Seems we might need to get some update.
Regards, Miguel
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Top GitHub Comments
ERROR
FIX (DOCUMENTATION)
Works for me.
Thanks Snowdd1
I just sudo unistall homebrige…
sudo npm uninsstall homebrigde -g
and reinstall again
sudo npm install -g --unsafe-perm homebridge
this fixed the issue!!!
thanks for the tip