Install MagicMirror on Orange Pi Lite (Armbian)
I installed MagicMirror on Orange Pi Lite. Got error in this
npm ERR! Linux 3.4.113-sun8i npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" npm ERR! node v4.2.6 npm ERR! npm v3.5.2 npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! email@example.com postinstall: `node install.js` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the firstname.lastname@example.org postinstall script 'node install.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the electron package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs electron npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls electron npm ERR! There is likely additional logging output above.
is that the node version and npm version is wrong? Which version I should install?
kylelmartin last edited by
Sorry - have no help for you, but I’m really interested to see if you can get this to work on a $15 board.
Thanks for giving it a shot.
I had the same problem using the NPM 3.2 and NODE 6.10 versions with an OPI Lite.
For fix I downgrade the versions to NODE 5.10 and NPM 2.4, run the installation again and everything works fine.
@GustavoALara Can you help on instruction to downgrade npm and node to 5.10 and 2.4?
Changing node version
sudo npm cache clean -f
sudo npm install -g n
sudo n 5.1.0
Changing npm version
npm install -g email@example.com