Not working with electron 2.0
See original GitHub issueAn unhandled error occurred inside electron-rebuild
Could not detect abi for version 2.0.0 and runtime electron. Updating "node-abi" might help solve this issue if it is a new release of electron
Error: Could not detect abi for version 2.0.0 and runtime electron. Updating "node-abi" might help solve this issue if it is a new release of electron
at Object.getAbi (\node_modules\node-abi\index.js:30:9)
at new Rebuilder (\node_modules\electron-rebuild\lib\src\rebuild.js:64:28)
at rebuildWithOptions (\node_modules\electron-rebuild\lib\src\rebuild.js:310:23)
at Object.doRebuild [as rebuild] (\node_modules\electron-rebuild\lib\src\rebuild.js:317:16)
at Object.<anonymous> (\node_modules\electron-rebuild\lib\src\cli.js:114:33)
at Generator.next (<anonymous>)
at \node_modules\electron-rebuild\lib\src\cli.js:8:71
at new Promise (<anonymous>)
at __awaiter (\node_modules\electron-rebuild\lib\src\cli.js:4:12)
at \node_modules\electron-rebuild\lib\src\cli.js:69:8
Update to node-abi 2.4.0 should fix it, https://github.com/lgeiger/node-abi/releases/tag/v2.4.0
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Not working with electron 2.0 · Issue #240 - GitHub
Updated electron to 2.0.4 and electron-rebuild to 1.8.1 resulting in the error: Could not detect abi for version 2.0.4 and runtime electron. ....
Read more >Why doesn't electron 2.0 support TypeScript (ES6) import?
This 2 year old answer states the reason is dependent components (nodejs and chrome) don't support it, which is no longer true, so...
Read more >Breaking Changes - Electron.js
Breaking changes will be documented here, and deprecation warnings added to JS code where possible, at least one major version before the change...
Read more >@electron/remote - npm
@electron/remote. @electron/remote is an Electron module that bridges JavaScript objects from the main process to the renderer process.
Read more >Build and Secure an Electron App - OpenID, OAuth, Node.js ...
The goal of this tutorial is to show you how to secure an Electron application with OpenID Connect and OAuth 2.0.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You need
node-abi
2.4.1 or later.@malept thanks. You’re completely right, of course. My apologies. When creating a fresh repo with just that single dependency on electron-rebuild@1.8.1, it resolves just fine to the node-abi@2.4.3, so something must have been off in either some local state, or maybe a yarn bug combining dependencies. In any case not something relevant for this repo, I agree.