Skip to content

Electron version 35.0.1 is not supported in node-abi registry #202

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

Open
pravichandran15 opened this issue Mar 12, 2025 · 1 comment
Open

Comments

@pravichandran15
Copy link

Description

When trying to build native modules for Electron 35.0.1, the following error occurs:

Could not detect ABI for version 35.0.1 and runtime electron.
Updating "node-abi" might help solve this issue if it is a new release of Electron.
@arcusfelis
Copy link

Cheating like that:

ABI='[
  {
    "abi": "133",
    "future": false,
    "lts": false,
    "runtime": "electron",
    "target": "35.1.2"
  }
]
'
echo "$ABI" > "node_modules/node-abi/abi_registry.json"
echo "$ABI" > "node_modules/@electron/rebuild/node_modules/node-abi/abi_registry.json"

helps...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants