• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Magic Mirror black screen Pi Zero W

Scheduled Pinned Locked Moved Unsolved Troubleshooting
11 Posts 2 Posters 5.3k Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Zelocked
    last edited by yawns Jul 13, 2017, 4:20 AM Jul 11, 2017, 12:07 AM

    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!!

    B 1 Reply Last reply Jul 11, 2017, 12:55 AM Reply Quote 0
    • B Offline
      bhepler Module Developer @Zelocked
      last edited by bhepler Jul 11, 2017, 12:57 AM Jul 11, 2017, 12:55 AM

      @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 to config.js in the /home/pi/MagicMirror/config folder?
      Z 1 Reply Last reply Jul 11, 2017, 12:57 AM Reply Quote 0
      • Z Offline
        Zelocked @bhepler
        last edited by Jul 11, 2017, 12:57 AM

        @bhepler
        Yes to both of those.

        B 1 Reply Last reply Jul 11, 2017, 1:03 AM Reply Quote 0
        • B Offline
          bhepler Module Developer @Zelocked
          last edited by Jul 11, 2017, 1:03 AM

          @Zelocked Can you expand on the log messages you receive? What versions of electron and node did you install?

          Z 1 Reply Last reply Jul 11, 2017, 1:29 AM Reply Quote 0
          • Z Offline
            Zelocked @bhepler
            last edited by Jul 11, 2017, 1:29 AM

            @bhepler

            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.

            1 Reply Last reply Reply Quote 0
            • B Offline
              bhepler Module Developer
              last edited by Jul 11, 2017, 2:06 AM

              Let’s back up a bit. How did you install the Mirror on your Pi Zero? Which steps did you follow?

              Z 1 Reply Last reply Jul 11, 2017, 2:20 AM Reply Quote 0
              • Z Offline
                Zelocked @bhepler
                last edited by Jul 11, 2017, 2:20 AM

                @bhepler

                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 :)

                B 1 Reply Last reply Jul 11, 2017, 2:53 AM Reply Quote 0
                • B Offline
                  bhepler Module Developer @Zelocked
                  last edited by Jul 11, 2017, 2:53 AM

                  @Zelocked No worries. We all were where you are at some point. Let me take a look.

                  Z B 2 Replies Last reply Jul 11, 2017, 2:59 AM Reply Quote 0
                  • Z Offline
                    Zelocked @bhepler
                    last edited by Jul 11, 2017, 2:59 AM

                    @bhepler
                    Thanks, I’m in no rush to finish this so take your time :)

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      bhepler Module Developer @bhepler
                      last edited by Jul 11, 2017, 3:35 AM

                      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?

                      Z 1 Reply Last reply Jul 11, 2017, 4:48 AM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        1/11
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy