Skip to content
This repository has been archived by the owner on Mar 6, 2022. It is now read-only.

Error: Could not detect abi for version 16.0.6 #128

Open
kikig1 opened this issue Jan 4, 2022 · 2 comments
Open

Error: Could not detect abi for version 16.0.6 #128

kikig1 opened this issue Jan 4, 2022 · 2 comments

Comments

@kikig1
Copy link

kikig1 commented Jan 4, 2022

Hi,
i've tried it sometimes with a fully new instllation of raspi and MagicMirror.
i've tried npm install electron-rebuild

npm install in the MMM-PIR-Sensor always stops with
`An unhandled error occurred inside electron-rebuild
Could not detect abi for version 16.0.6 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 16.0.6 and runtime electron. Updating "node-abi" might help solve this issue if it is a new release of electron
at Object.getAbi (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/node-abi/index.js:36:9)
at new Rebuilder (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/rebuild.js:126:48)
at rebuildWithOptions (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/rebuild.js:404:23)
at Object.doRebuild [as rebuild] (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/rebuild.js:427:16)
at /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/cli.js:124:33
at Generator.next ()
at fulfilled (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/cli.js:6:58)
npm ERR! code 255
`

Are there any solutions fpr this?
Thanks for any tips ;)
best regrads

@0synonym
Copy link

0synonym commented Jan 5, 2022

I had the same issue. I found this interim solution / workaround electron-rebuild and MagicMirror v2.18 (and more) .
Unfortunately any other rebuild failed.

@bugsounet
Copy link

Hi,

I have open a PR for correct it

@bugsounet

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

No branches or pull requests

3 participants