question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I just update homebridge and now not working.

See original GitHub issue

please 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:closed
  • Created 5 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ebaauwcommented, Jun 6, 2018

After updating the major version of NodeJS, uninstall and re-install homebridge:

$ sudo npm -g un homebridge
$ sudo npm -g i homebridge --unsafe-perm
0reactions
martin072commented, Oct 12, 2018

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 or npm 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 or npm install).

Homebridge does work, only if I start it manually. I cannot get it to start after boot anymore…

Any tips?

Read more comments on GitHub >

github_iconTop Results From Across the Web

I can't update homebridge UI plugin - Reddit
r/homebridge - I can't update homebridge UI plugin. Finally, I'm running v16.13.0 of Node.js, and v8.2.0 of npm.
Read more >
I just update homebridge and now not working. #1885 - GitHub
I just update homebridge and now not working. ... I ran into a similar problem, having update Node, homebridge fails to start.
Read more >
Homebridge
Install Homebridge​​ The Homebridge Wiki has easy to follow setup guides to help you get Homebridge running on your existing system:
Read more >
homebridge-config-ui-x - npm
A web based management, configuration and control platform for Homebridge. Latest version: 4.50.2, last published: a month ago.
Read more >
THIS is how to manage your Homebridge Dashboard - YouTube
Let's add a Homebridge Status Widget to your iOS screen to get notifications & Visual status plus run a Siri Shortcut script to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found