Skip to content
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 18.0.3 and runtime electron. #133

Open
miztizm opened this issue Aug 27, 2023 · 2 comments
Open

Could not detect abi for version 18.0.3 and runtime electron. #133

miztizm opened this issue Aug 27, 2023 · 2 comments

Comments

@miztizm
Copy link

miztizm commented Aug 27, 2023

C:\Users\warshell\electron-archivebox>npm start
npm WARN config global --global, --local are deprecated. Use --location=global instead.

[email protected] start
electron-forge start

√ Checking your system
√ Locating Application
× Preparing native dependencies

An unhandled error has occurred inside Forge:
Could not detect abi for version 18.0.3 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 18.0.3 and runtime electron. Updating "node-abi" might help solve this issue if it is a new release of electron
at Object.getAbi (C:\Users\warshell\electron-archivebox\node_modules\electron-rebuild\node_modules\node-abi\index.js:36:9)
at new Rebuilder (C:\Users\warshell\electron-archivebox\node_modules\electron-rebuild\src\rebuild.ts:112:44)
at rebuildWithOptions (C:\Users\warshell\electron-archivebox\node_modules\electron-rebuild\src\rebuild.ts:363:21)
at doRebuild (C:\Users\warshell\electron-archivebox\node_modules\electron-rebuild\src\rebuild.ts:416:12)
at asyncFn (C:\Users\warshell\electron-archivebox\node_modules@electron-forge\core\src\util\rebuild.ts:15:23)
at C:\Users\warshell\electron-archivebox\node_modules@electron-forge\async-ora\src\ora-handler.ts:35:5
at new Promise ()
at asyncOra (C:\Users\warshell\electron-archivebox\node_modules@electron-forge\async-ora\src\ora-handler.ts:34:10)
at _default (C:\Users\warshell\electron-archivebox\node_modules@electron-forge\core\src\util\rebuild.ts:14:9)
at _default (C:\Users\warshell\electron-archivebox\node_modules@electron-forge\core\src\api\start.ts:44:9)
at C:\Users\warshell\electron-archivebox\node_modules@electron-forge\cli\src\electron-forge-start.ts:58:19

@sysfu
Copy link

sysfu commented Oct 9, 2023

Reproduced this issue on Gentoo.

$lsb_release  -a
LSB Version:	n/a
Distributor ID:	Gentoo
Description:	Gentoo Linux
Release:	2.14
Codename:	n/a

app-containers/docker
      Latest version installed: 24.0.5
 app-eselect/eselect-electron
      Latest version installed: 0.3

@sysfu
Copy link

sysfu commented Oct 10, 2023

C:\Users\warshell\electron-archivebox>npm start npm WARN config global --global, --local are deprecated. Use --location=global instead.

[email protected] start
electron-forge start

√ Checking your system √ Locating Application × Preparing native dependencies

An unhandled error has occurred inside Forge: Could not detect abi for version 18.0.3 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 18.0.3 and runtime electron. Updating "node-abi" might help solve this issue if it is a new release of electron at Object.getAbi (C:\Users\warshell\electron-archivebox\node_modules\electron-rebuild\node_modules\node-abi\index.js:36:9) at new Rebuilder (C:\Users\warshell\electron-archivebox\node_modules\electron-rebuild\src\rebuild.ts:112:44) at rebuildWithOptions (C:\Users\warshell\electron-archivebox\node_modules\electron-rebuild\src\rebuild.ts:363:21) at doRebuild (C:\Users\warshell\electron-archivebox\node_modules\electron-rebuild\src\rebuild.ts:416:12) at asyncFn (C:\Users\warshell\electron-archivebox\node_modules@electron-forge\core\src\util\rebuild.ts:15:23) at C:\Users\warshell\electron-archivebox\node_modules@electron-forge\async-ora\src\ora-handler.ts:35:5 at new Promise () at asyncOra (C:\Users\warshell\electron-archivebox\node_modules@electron-forge\async-ora\src\ora-handler.ts:34:10) at _default (C:\Users\warshell\electron-archivebox\node_modules@electron-forge\core\src\util\rebuild.ts:14:9) at _default (C:\Users\warshell\electron-archivebox\node_modules@electron-forge\core\src\api\start.ts:44:9) at C:\Users\warshell\electron-archivebox\node_modules@electron-forge\cli\src\electron-forge-start.ts:58:19

try running npm audit fix. This seemed to resolve the issue for me.

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