Read the statement by Michael Teeuw here.
Error Installing Dependecies
-
Hi all,
I’m trying to install MagicMirror2 on a Pi2 but using the Automatic Installer, everythings goes well until the process reach the step “Installing dependencies”. I get this error:Installing dependencies ... npm WARN prefer global coffee-script@1.10.0 should be installed with -g npm WARN prefer global colorguard@1.2.0 should be installed with -g > electron-prebuilt@1.1.0 postinstall /root/MagicMirror/node_modules/electron-prebuilt > node install.js module.js:440 throw err; ^ Error: Cannot find module '/root/MagicMirror/node_modules/electron-prebuilt/install.js' at Function.Module._resolveFilename (module.js:438:15) at Function.Module._load (module.js:386:25) at Function.Module.runMain (module.js:575:10) at startup (node.js:160:18) at node.js:445:3... ... npm ERR! Linux 4.4.9-v7+ npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" npm ERR! node v6.1.0 npm ERR! npm v3.8.6 npm ERR! code ELIFECYCLE npm ERR! electron-prebuilt@1.1.0 postinstall: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the electron-prebuilt@1.1.0 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-prebuilt 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-prebuilt npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls electron-prebuilt npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /root/MagicMirror/npm-debug.log Unable to install dependencies! root@raspberrypi:~# npm installSomeone can help me?
Note from admin: Please use Markdown on your code snippets so they are easier to read!
-
What OS are you running? What Node version are you running (if the installer didn’t update)?
-
Hi Mich,
thanks for your help!
I’m running the last version ofRaspbian Jessie, Version:May 2016, Release date:2016-05-10, Kernel version:4.4, and the update of Node was a success (It’s the first step of the automatic intallation, right?) -
Interesting. Could you give https://github.com/electron/electron-quick-start a try to see if that one works?
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