MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED Magic Mirror black screen Pi Zero W

    Troubleshooting
    2
    11
    3226
    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
      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! 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!!

      bhepler 1 Reply Last reply Reply Quote 0
      • bhepler
        bhepler Project Sponsor @Zelocked last edited by bhepler

        @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 Reply Quote 0
        • Z
          Zelocked @bhepler last edited by

          @bhepler
          Yes to both of those.

          bhepler 1 Reply Last reply Reply Quote 0
          • bhepler
            bhepler Project Sponsor @Zelocked last edited by

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

            Z 1 Reply Last reply Reply Quote 0
            • Z
              Zelocked @bhepler last edited by

              @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
              • bhepler
                bhepler Project Sponsor last edited by

                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 Reply Quote 0
                • Z
                  Zelocked @bhepler last edited by

                  @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 🙂

                  bhepler 1 Reply Last reply Reply Quote 0
                  • bhepler
                    bhepler Project Sponsor @Zelocked last edited by

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

                    Z bhepler 2 Replies Last reply Reply Quote 0
                    • Z
                      Zelocked @bhepler last edited by

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

                      1 Reply Last reply Reply Quote 0
                      • bhepler
                        bhepler Project Sponsor @bhepler last edited by

                        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 Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy