Read the statement by Michael Teeuw here.
cant get magicmirror to show up on screen
-
I will certainly let you know. Do you think that it would be better to run the automatic installation command or manually install nodejs, clone the rep and the install npm?
-
i did it like this on several pi’s now and never had issues https://forum.magicmirror.builders/topic/236/complete-setup-tutorial
-
@lysnikolaou Unfortunately, I have no experience with the automatic installation because it isn’t supported for my hardware setup. But it seems to be the best way of going about it and the instructions in the link @strawberry-3-141 has posted is the way to go, @KirAsh4 has put a lot of energy into it and if you follow it closely, I’d be surprised if you still ran into trouble.
-
Thanks a lot to both of you. I will inform you about the results, as soon as I have it done.
-
Hi everyone,
I have the same problem. Via ssh I get the same error. But using the same command in the terminal on the pi then it is working. I’m confused… -
@kula What command are you talking about?
-
@yo-less sorry, npm start
-
Then you’re not experiencing the same problem. What you are describing is normal behavior.
If you use SSH, the Pi doesn’t know what monitor it should use, since you’re sitting in front of another monitor, so your command should be:
DISPLAY=:0 npm start
Try that, it should work without problems.
Everything is also explained here .
Why aren’t you using PM2 to run the mirror?
-
@yo-less thanks, it works. I’m just getting into it and followed up the tutorial strawberry 3.141 mentioned before - with the difference that I used ssh :)
now I’m going to read about the PM2 thing. -
@kula Great to know it’s working for you. Use PM2, it makes sure your mirror stays up and running and doesn’t stop at some stage. It also provides logs that can help troubleshoot potential mirror problems.