Read the statement by Michael Teeuw here.
Npm start issues
-
did you run npm install first? or did u use the automatic installer? Looks like there is no electron installed.
maybe try to execute “DISPLAY=:0 nohup npm start &”But i need to say that i am no developer or programer or something like that. Just started to try understanding the whole stuff ^^
So keep that i mind and before u crash something maybe u should wait for someone who got more ideas.for so long keep reading: https://www.google.de/search?client=safari&rls=en&q=run-start.sh:+4:+run-start.sh:+electron:+not+found&ie=UTF-8&oe=UTF-8&gfe_rd=cr&dcr=0&ei=Q9JDWuagJ6zBXqmvrKAI
-
I’m just starting out too, that’s why I’m having problems. Lol
-
hmm. which os did u use? is it a fresh install?
I’m using stretch lite, but that needs more steps to install the MM.So i recommend to use a desktop version (with pixel) for the first.
If u did, i would use this guide: https://forum.magicmirror.builders/topic/236/complete-setup-tutorialOr, if u would like to use a lite OS Version i would use this: https://github.com/MichMich/MagicMirror/wiki/Jessie-Lite-Installation-Guide
Last one worked fine for me. It takes about 30-60 Minutes all in all to set up the Magic Mirror when i did it first time. Important is to read carefully and take the time u need for it ;)
-
I used automatic installer. And the OS was the lite system that came with my raspberry
-
I tried your first suggestion and this is what happened.
pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 nohup npm start &
[1] 1854
pi@raspberrypi:~/MagicMirror $ #nohup: ignoring input and appending output to 'nohup.out -
that should be the reason, why u are running in trouble. With the lite version there are missing some packages, which u have to install manually.
i would delete the MagicMirror folder with “rmdir MagicMirror” and try to set it up again with using the second link i posted above.
Even better if u install a whole new OS on your SD-Card, 'cause i don’t know what stuff is installed there.
-
It said failed to remove magic mirror
-
try
rmdir /home/pi/MagicMirror
or maybe
sudo rmdir /home/pi/MagicMirror
-
both didn’t work