Read the statement by Michael Teeuw here.
Magic Mirror black screen Pi Zero W
-
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! magicmirror@1.2.1 start: 'sh run-start.sh' npm ERR! spawn EN0ENT npm ERR! Failed at the magicmirror@1.2.1 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 install
in the/home/pi/MagicMirror
folder? - Did you copy
config.js.sample
toconfig.js
in the/home/pi/MagicMirror/config
folder?
-
@bhepler
Yes to both of those. -
@Zelocked Can you expand on the log messages you receive? What versions of electron and node did you install?
-
https://drive.google.com/file/d/0ByTeJ1TSWiaqQ2Frc2xJN2hQT2c/view?usp=drivesdk
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?
-
https://docs.google.com/document/d/1dw_VsG9mw-WzDcwY85wxJHyPgMcCszr0yAopafe_Y_k/edit?usp=drivesdk
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.
-
@bhepler
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?