Error Installing Dependecies
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 email@example.com should be installed with -g npm WARN prefer global firstname.lastname@example.org should be installed with -g > email@example.com 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! firstname.lastname@example.org postinstall: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the email@example.com 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 install
Someone 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)?
thanks for your help!
I’m running the last version of
Raspbian 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?