-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not detect abi for version 12.0.0 and runtime electron. #632
Comments
Same for me.. |
Related issue: electron/node-abi#100 |
node-abi 2.20 was released about 3 hours ago. |
But current version of electron-rebuild 2.3.5 depend on node-abi ^2.19.2 We use node-abi version 2.19.3. Upgrading node-abi to versions 2.20.0 and 2.21.0 has no effect We faced one problem after upgrade ours Electron app from version 11 to 12: $ electron-rebuild --parallel --force --types prod,dev,optional --module-dir app An unhandled error occurred inside electron-rebuild Error: Could not detect abi for version 12.0.0 and runtime electron. Updating "node-abi" might help solve this issue if it is a new release of electron This error can be fixed when manually change abi_registry.json and replace target from "12.0.0-nightly.20201013" to "12.0.0" |
Any news on this issue? |
I guess we have to wait till new release I solved the issue by forcing install specific version of npm install [email protected]
.\node_modules\.bin\electron-rebuild.cmd .... |
@lstolcman, I found better solution from @jacobq, contributor of node-abi: https://github.com/lgeiger/node-abi/issues/102#issuecomment-831355695 |
Hi
When I try to rebuild a module in newly released electron 12.0.0, it fails with an error:
how to reproduce:
Throws an error
It is interesting, because older versions (e.g. 11.2.3), and electron v12 betas (the latest: 12.0.0-beta.31, released 20 hours ago), works:
os: windows 10
node: 14.16.0
The text was updated successfully, but these errors were encountered: