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.

Could not detect abi for version 20.1.0 and runtime electron

See original GitHub issue

Got this error while rebuilding

Error: Could not detect abi for version 20.1.0 and runtime electron.  Updating "node-abi" might help solve this issue if it is a new release of electron

Failed at:

C:\Program Files\nodejs\node.exe process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
An unhandled error occurred inside electron-rebuild
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c npm run electron-rebuild && npm run link-modules

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:2
  • Comments:5

github_iconTop GitHub Comments

1reaction
kbourrocommented, Sep 9, 2022

Adding the following to package.json fixed my issue. "overrides": { "electron-rebuild": { "node-abi": "3.24.0" } },

1reaction
Aaqucommented, Sep 9, 2022

same problem

I found the solution, uninstall and again install electron-rebuild in my project, it works!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not detect abi for version 14.0.0 and runtime electron
There is a problem with automatically releasing new versions of node-abi, which is why this error exists with electron-rebuild (and Electron ...
Read more >
node-abi
Get the Node ABI for a given target and runtime, and vice versa.. Latest version: 3.30.0, last published: 25 days ago. Start using...
Read more >
Could not detect abi for version 14.0.0 and runtime electron
There is a problem with automatically releasing new versions of node-abi , which is why this error exists with electron-rebuild (and Electron ...
Read more >
"node-abi" problem with MM v2.18.0 - MagicMirror Forum
I already did a fresh installation of MagicMirror and node.js but the ... Could not detect abi for version 16.0.5 and runtime electron....
Read more >
node.js - How can I determine the ABI version (and other ...
Your own solution is the only way to do this without a addition native node module, and parsing/reading the .
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