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.

Upgrade node-abi to ^2.8.0 for Electron 5 support

See original GitHub issue

When I update Electron to v5.0.0, and error happened:

An unhandled error occurred inside electron-rebuild
Could not detect abi for version 5.0.0 and runtime electron.  
Updating "node-abi" might help solve this issue if it is a new release of electron

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
maleptcommented, Apr 25, 2019

FYI, you don’t need to add node-abi to your dependencies/devDependencies. For Yarn, you can just run yarn upgrade electron-rebuild. Not sure if npm update electron-rebuild will do a similar thing for NPM users.

2reactions
MarshallOfSoundcommented, Apr 25, 2019

For npm I believe the command is npm upgrade node-abi --depth=100

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrade node-abi to ^2.8.0 for Electron 5 support #294 - GitHub
When I update Electron to v5.0.0, and error happened: An unhandled error occurred inside electron-rebuild Could not detect abi for version ...
Read more >
node-abi - npm
Get the Node ABI for a given target and runtime, and vice versa.. Latest version: 3.30.0, last published: 13 days ago. Start using...
Read more >
How can I rebuild zeromq.js bindings for electron version 4.1.4?
I just ran into this today with Electron 6. npm rebuild zeromq doesn't help since it first downloads the binaries from their github, ......
Read more >
Node-abi NPM
Node.js ABI ... Get the Node ABI for a given target and runtime, and vice versa. Installation. npm install node-abi. Usage. const nodeAbi ......
Read more >
Previous Releases - Node.js
Version Date V8 npm NODE_MODULE_VERSION Node.js 19.3.0 2022‑12‑14 10.8.168.21 9.2.0 111 Downloads C... Node.js 19.2.0 2022‑11‑29 10.8.168.20 8.19.3 111 Downloads C... Node.js 19.1.0 2022‑11‑14 10.7.193.20 8.19.3...
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