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 installin the/home/pi/MagicMirrorfolder? - Did you copy
config.js.sampletoconfig.jsin the/home/pi/MagicMirror/configfolder?
-
@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? -
@bhepler
SSH wasn’t working, (hence the crappy pictures and retyped code in lieu of screenshots and copy pasting) so I’ve been working directly on my pi zero.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login