Magic Mirror black screen Pi Zero W
Zelocked last edited by yawns
My magic is not working, and it’s driving me insane.
When MagicMirror launches automatically, (when the gui is disabled) it simply gives me a black screen, and when I launch it manually I get the following code:
/home/pi/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: no such file or directory npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno EN0ENT npm ERR! syscall spawn npm ERR! email@example.com start: 'sh run-start.sh' npm ERR! spawn EN0ENT npm ERR! Failed at the firstname.lastname@example.org start script. npm ERR! This is probably not an error with npm. There is a likely additional logging output above.
I’m a complete noon when it comes to Linux please help me!!
@Zelocked Well. Let’s start with some basic questions:
- How did you install the Magic Mirror framework?
- Did you install node and electron separately?
- Did you run
npm installin the
- Did you copy
Yes to both of those.
@Zelocked Can you expand on the log messages you receive? What versions of electron and node did you install?
There’s a picture of the error log (can’t screenshot, ssh not working)
I’m not sure how to check electron version.
Let’s back up a bit. How did you install the Mirror on your Pi Zero? Which steps did you follow?
I took notes of everything I did and all the complications. These are the exact steps I took, to the letter. This was about the sixth attempt at a fresh installation, and I’m at my wit’s end. Thank you sooo much for taking the time to help me and for being patient with me
@Zelocked No worries. We all were where you are at some point. Let me take a look.
Thanks, I’m in no rush to finish this so take your time
Heh. Well, I recognize which thread you used as a basis.
Okay, one last stupid question: Are you SSH into your Pi Zero, or are you working directly on it with it connected to a monitor right in front of you?