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.

Can't run on nodejs v10 and upper

See original GitHub issue

Help !!! Homebridge was working good with nodejs 8.x . I want to update nodejs , but then I can’t start homebridge.

pi@raspberrypi:~ $ homebridge -I /usr/local/lib/node_modules/hap-nodejs/node_modules/bindings/bindings.js:91 throw e ^

Error: The module ‘/usr/local/lib/node_modules/hap-nodejs/node_modules/ed25519-hap/build/Release/ed25519.node’ was compiled against a different Node.js version using NODE_MODULE_VERSION 57. This version of Node.js requires NODE_MODULE_VERSION 67. 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:857:18) at Module.load (internal/modules/cjs/loader.js:685:32) at Function.Module._load (internal/modules/cjs/loader.js:620:12) at Module.require (internal/modules/cjs/loader.js:723:19) at require (internal/modules/cjs/helpers.js:14:16) at bindings (/usr/local/lib/node_modules/hap-nodejs/node_modules/bindings/bindings.js:84:48) at Object.<anonymous> (/usr/local/lib/node_modules/hap-nodejs/node_modules/ed25519-hap/index.js:1:37) at Module._compile (internal/modules/cjs/loader.js:816:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:827:10) at Module.load (internal/modules/cjs/loader.js:685:32) pi@raspberrypi:~ $

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
DJay-Xcommented, Apr 24, 2019

@mafyata Try cd /usr/local/lib/node_modules/ sudo npm rebuild --unsafe-perm

0reactions
stale[bot]commented, Jan 17, 2020

This issue has been automatically marked as stale because it has not had recent activity, and will be closed if no further activity occurs. If this issue was overlooked, forgotten, or should remain open for any other reason, please reply here to call attention to it and remove the stale status. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error npm is known not to run on Node.js v10.24.1 and how ...
Try these: Download and install the latest version of nodejs. Open you terminal and verify you have the latest version using node -v...
Read more >
npm does not support Node.js v10.19.0
Short Answer. The simplest is to update to Node.js v14: curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash - sudo apt-get ...
Read more >
How to fix 'npm does not support Node.js v14' error on ...
My first attempt was updating over the top of my existing node.js installation. I then tried uninstalling node.js installation (Windows Add/ ...
Read more >
Fix: npm does not support Node.js v10.19.0 You ... - YouTube
Fix: npm does not support Node.js v10.19.0 You should probably upgrade to a newer version of node. · Comments • 31.
Read more >
The Difference Between Node.js 10 LTS and Node.js 12 LTS
If a policy integrity is specified and the policy does not have that integrity, Node.js will error prior to running any code (Bradley ......
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