Read the statement by Michael Teeuw here.
How to fix npm install errors on Gateway?
-
I’m trying to install MagicMirror on Raspbian.
However, after installing the Gateway to control the EXT-detector and entering npm install to install npm there, the following error appears.
I tried reinstalling the OS itself for this, but the result was the same.
Is there any other way?An unhandled error occurred inside electron-rebuild node-gyp failed to rebuild '/home/raspberry/MagicMirror/modules/Gateway/node_modules/node-pty'. Error: `make` failed with exit code: 2 Error: node-gyp failed to rebuild '/home/raspberry/MagicMirror/modules/Gateway/node_modules/node-pty'. Error: `make` failed with exit code: 2 at ModuleRebuilder.rebuildNodeGypModule (/home/raspberry/MagicMirror/modules/Gateway/node_modules/magicmirror-rebuild/build/module-rebuilder.js:193:19) at processTicksAndRejections (internal/process/task_queues.js:95:5) at async Rebuilder.rebuildModuleAt (/home/raspberry/MagicMirror/modules/Gateway/node_modules/magicmirror-rebuild/build/rebuild.js:180:9) at async Rebuilder.rebuild (/home/raspberry/MagicMirror/modules/Gateway/node_modules/magicmirror-rebuild/build/rebuild.js:143:17) at async /home/raspberry/MagicMirror/modules/Gateway/node_modules/magicmirror-rebuild/build/cli.js:141:9 -
@Untitled
Is not the right Forum.
Ask here : https://forum.bugsounet.fr
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login