Read the statement by Michael Teeuw here.
Installation Error - Electron installer issue
-
I have the same error - running it on a headless Pi3 (ie I Putty in from elsewhere and monitor the output from elsewhere too).
I have been told that I should not run MM from the CLI, but rather that "The application needs to be started while the GUI-environment is running.’Can you please confirm if you are running ON THE PI directly or if you SSH’ed in?
-
I’m running directly on the PI !
-
Hey there!
You should not install MagicMirror as Root in the
/root
directory.check out this:
https://forum.magicmirror.builders/topic/259/installing-mm2/10I think it is the same issue.
@Bangee said in Installing MM2:
as I c, you’ve installed your MagicMirror in the /root directory.
I’m not sure if this is working so far.Try to install everything as pi and not as root in the /home/pi directory and let us know what happend.
try
whoami
-> piupdate your distribution with
sudo apt-get update && sudo apt-get upgrade
then
cd /home/pi
or onlycd
and install again:
curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash
-
Thanks for your answer, I’m going to try that right now !
-
how was it? :-)
-
@Corvis1984
I found this one
https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/2
and it worked like a charm… (and it it so detailed even I could not mess it up)On top of that, it is lean and made my WiFi FINALLY work too. Now all I need is the toaster attachment to my Pi
Best of luck!
-