Read the statement by Michael Teeuw here.
Installing on a Pi Zero
-
@big11 I did a test install today, so I’m really not sure what you are doing.
You will notice that the missing dependencies are installed in subsequent steps (e.g. there’s a problem with style lint and acorn. This is then fixed (see where it says
+ stylelint@9.9.0
and+ acorn
lower down in your warnings).This installation is completely different from the MM-Wiki. It does not use
sh run-start.sh
at all. Therefore there may well be problems.Can I ask, are you doing your installation over SSH/Telnet? or on the Pi itself? because you keep mentioning ‘locally’ and I just want to make sure I know what you mean by that.
Edit: Also, don’t use npm install in sudo; it should be run as the normal user
-
as for your Question
i’m installing over SSH but start it then directly on the Pi0…
i will i try a new Installation by now…
normally i don’t run “npm install” as root…
don’t know if i wrote so… -
thats my “achievment” from last night…
pi@raspberrypi:~ $ cd MagicMirror/ pi@raspberrypi:~/MagicMirror $ npm start > magicmirror@2.6.0 start /home/pi/MagicMirror > sh run-start.sh run-start.sh: 4: run-start.sh: electron: not found npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! magicmirror@2.6.0 start: `sh run-start.sh` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the magicmirror@2.6.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2019-01-10T07_11_11_053Z-debug.log pi@raspberrypi:~/MagicMirror $
-
finally full success!!:)
@big11 install directly from raspberry terminal not via ssh.
After few fresh installation and hundreds errors last time tried install usingbash -c "$(curl -sL https://raw.githubusercontent.com/ac2799/MagicMirror/master/installers/raspberry.sh)"
from raspberrypi terminal.There were some errors but finally worked.
if you want, I can make a image of my card and share it. -
you made my day…
it works…
the first differences i encountered was the Installation of electron …
this i didn’t found at all the others…and i thought before, that this will be the quest…
regarding to the warnings installing npm
you could fix that with “npm Audit fix” or “npm Audit fix --force”
as suggested…i did this also, so maybe this could be an error too…
and if it works but this warnings, who cares…. :-)
have a great day…
thank you -
Awesome write up. Super helpful!
-
Thank you very much for this work! The tutorial works perfectly. I just installed it in a rpi zero W. Highly recommended for anyone who wants to install it on this SBC.
-
Many thanks Andrew - worked well for me (other than first step: connecting to wifi with WPA2 needed some minor tweaks.)
-
@cdh1001 please specify tweaks as they might help others.
-
@andyc7687 - I needed to delete the line:
key_mgmt=WPA-PSK
Based on discussions elsewhere I originally tried renaming Key_mgmt to WPA2 and/or changing group=CCMP, but neither of those were necessary for me; simply deleting the line was sufficient.