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