Read the statement by Michael Teeuw here.
NPM install error
-
I followed the manual install walk through.
cd ~/MagicMirror npm installNow I’m getting an electron error. How do I troubleshoot this?
electron@1.4.15 postinstall /home/pi/MagicMirror/node_modules/electron node install.js npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian npm ERR! electron@1.4.15 postinstall: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the electron@1.4.15 postinstall script. npm ERR! 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 their info via: npm ERR! npm owner ls electron npm ERR! There is likely additional logging output above. npm ERR! System Linux 4.1.19-v7+ npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" npm ERR! cwd /home/pi/MagicMirror npm ERR! node -v v0.10.29 npm ERR! npm -v 1.4.21 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/pi/MagicMirror/npm-debug.log npm ERR! not ok code 0 -
@morozgrafix Thank you morozgrafix. I discovered that the node instructions i found were wayyy old.
I’ve updated it but ran into new problems. ha! Thanks everyone!
-
I would delete it and start over… something didn’t take… Are you installing it manually?
-
npm ERR! node -v v0.10.29 npm ERR! npm -v 1.4.21Those look like very old versions of npm and node. Can you please run following commands in your terminal and post output?
node --versionand
npm --versionThanks.
-
This post is deleted! -
@morozgrafix Thank you morozgrafix. I discovered that the node instructions i found were wayyy old.
I’ve updated it but ran into new problems. ha! Thanks everyone!
-
@jkhania said in NPM install error:
@morozgrafix Thank you morozgrafix. I discovered that the node instructions i found were wayyy old.
I’ve updated it but ran into new problems. ha! Thanks everyone!
Honestly the problems may be all the mixing that has happened. I would just start over with the new instructions ;)
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