I just update homebridge and now not working.
See original GitHub issueplease help. I just update homebridge and now not working. " /usr/lib/node_modules/homebridge/node_modules/bindings/bindings.js:88 throw e ^
Error: The module ‘/usr/lib/node_modules/homebridge/node_modules/ed25519-hap/build/Release/ed25519.node’
was compiled against a different Node.js version using
NODE_MODULE_VERSION 48. This version of Node.js requires
NODE_MODULE_VERSION 59. Please try re-compiling or re-installing
the module (for instance, using npm rebuild
or npm install
).
at Object.Module._extensions…node (internal/modules/cjs/loader.js:683:18)
at Module.load (internal/modules/cjs/loader.js:566:32)
at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
at Function.Module._load (internal/modules/cjs/loader.js:498:3)
at Module.require (internal/modules/cjs/loader.js:598:17)
at require (internal/modules/cjs/helpers.js:11:18)
at bindings (/usr/lib/node_modules/homebridge/node_modules/bindings/bindings.js:81:44)
at Object.<anonymous> (/usr/lib/node_modules/homebridge/node_modules/ed25519-hap/index.js:1:99)
at Module._compile (internal/modules/cjs/loader.js:654:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:665:10)
"
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (3 by maintainers)
Top GitHub Comments
After updating the major version of NodeJS, uninstall and re-install homebridge:
Hi,
I ran into a similar problem, having update Node, homebridge fails to start.
node -v v10.12.0
/usr/lib/node_modules/homebridge/node_modules/bindings/bindings.js:88 throw e ^
Error: The module ‘/usr/lib/node_modules/homebridge/node_modules/ed25519-hap/build/Release/ed25519.node’ was compiled against a different Node.js version using NODE_MODULE_VERSION 51. This version of Node.js requires NODE_MODULE_VERSION 64. Please try re-compiling or re-installing the module (for instance, using
npm rebuild
ornpm install
). at Object.Module._extensions…node (internal/modules/cjs/loader.js:717:18) at Module.load (internal/modules/cjs/loader.js:598:32) at tryModuleLoad (internal/modules/cjs/loader.js:537:12) at Function.Module._load (internal/modules/cjs/loader.js:529:3) at Module.require (internal/modules/cjs/loader.js:636:17) at require (internal/modules/cjs/helpers.js:20:18) at bindings (/usr/lib/node_modules/homebridge/node_modules/bindings/bindings.js:81:44) at Object.<anonymous> (/usr/lib/node_modules/homebridge/node_modules/ed25519-hap/index.js:1:99) at Module._compile (internal/modules/cjs/loader.js:688:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:699:10)Edit: alexmagereanu, I did the rebuild in the homebridge directory, that seemed to fix it, only thing is that it still throws and error:
Error: The module ‘/usr/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty/build/Release/pty.node’ was compiled against a different Node.js version using NODE_MODULE_VERSION 51. This version of Node.js requires NODE_MODULE_VERSION 64. Please try re-compiling or re-installing the module (for instance, using
npm rebuild
ornpm install
).Homebridge does work, only if I start it manually. I cannot get it to start after boot anymore…
Any tips?