Read the statement by Michael Teeuw here.
Unable to install dependencies!
-
Also, have you tried just running tha script again? I had to run it a couple of times to get it to install everything
-
@gshimself -bash: npm: command not found
@broberg Yes, will try it again now, but it didn´t work for me D: -
@Nik Hi, I had almost same problem, I solved it by installing nodejs and electron first before MM
used those links http://thisdavej.com/beginners-guide-to-installing-node-js-on-a-raspberry-pi/ - in 3/4 of page
and for electron I think I used this https://github.com/electron/electron-quick-start dont remember… sorry :/ -
Two questions: What version of the Raspberry Pi are you running and are you using the Raspian Lite version?
-
said in Unable to install dependencies!:
Run apt-get install nodejs (as root) to install Node.js v6.x and npm
What say the command
dpkg -L nodejs
I understand the nodejs is not necesary install manually, the script do it for you.Try, uninstall the nodejs from the repository and run again the bash installer.
-
Update received same error running the bash script:
curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bashon Raspberry pi 3.0 -B. Installed Raspbian Jesse using NOOBS.
Ran the script again and the response told me NodeJs was installed, “Magic mirror is already installed”
I believe this is more an unintended response of the actual bug. NodeJS was already installed correctly?Anyway,
navigated into the folder MagicMirror:
npm start -> electron not installed fail.
npm install -> npm startBingo, we are running. No need to download any packages seperately.