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.

    Installing on a Pi Zero

    Scheduled Pinned Locked Moved Troubleshooting
    175 Posts 33 Posters 221.4k Views 33 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.
    • B Offline
      Big11 @Big11
      last edited by

      @big11

      thats my “achievment” from last night…

      pi@raspberrypi:~ $ cd MagicMirror/
      pi@raspberrypi:~/MagicMirror $ npm start
      
      > magicmirror@2.6.0 start /home/pi/MagicMirror
      > sh run-start.sh
      
      run-start.sh: 4: run-start.sh: electron: not found
      npm ERR! file sh
      npm ERR! code ELIFECYCLE
      npm ERR! errno ENOENT
      npm ERR! syscall spawn
      npm ERR! magicmirror@2.6.0 start: `sh run-start.sh`
      npm ERR! spawn ENOENT
      npm ERR!
      npm ERR! Failed at the magicmirror@2.6.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2019-01-10T07_11_11_053Z-debug.log
      pi@raspberrypi:~/MagicMirror $
      
      
      
      1 Reply Last reply Reply Quote 0
      • 1 Offline
        12wsx
        last edited by

        finally full success!!:)
        @big11 install directly from raspberry terminal not via ssh.
        After few fresh installation and hundreds errors last time tried install using

        bash -c "$(curl -sL https://raw.githubusercontent.com/ac2799/MagicMirror/master/installers/raspberry.sh)"
        

        from raspberrypi terminal.There were some errors but finally worked.
        if you want, I can make a image of my card and share it.

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          Big11 @12wsx
          last edited by

          @12wsx

          you made my day…

          it works…

          the first differences i encountered was the Installation of electron …
          this i didn’t found at all the others…

          and i thought before, that this will be the quest…

          regarding to the warnings installing npm

          you could fix that with “npm Audit fix” or “npm Audit fix --force”
          as suggested…

          i did this also, so maybe this could be an error too…

          and if it works but this warnings, who cares…. :-)

          have a great day…
          thank you

          1 Reply Last reply Reply Quote 0
          • W Offline
            Wordonroad
            last edited by

            Awesome write up. Super helpful!

            1 Reply Last reply Reply Quote 0
            • qu1queQ Offline
              qu1que Project Sponsor
              last edited by qu1que

              Thank you very much for this work! The tutorial works perfectly. I just installed it in a rpi zero W. Highly recommended for anyone who wants to install it on this SBC.

              1 Reply Last reply Reply Quote 0
              • C Offline
                cdh1001
                last edited by

                Many thanks Andrew - worked well for me (other than first step: connecting to wifi with WPA2 needed some minor tweaks.)

                A 1 Reply Last reply Reply Quote 0
                • A Offline
                  andyc7687 @cdh1001
                  last edited by

                  @cdh1001 please specify tweaks as they might help others.

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    cdh1001 @andyc7687
                    last edited by

                    @andyc7687 - I needed to delete the line: key_mgmt=WPA-PSK Based on discussions elsewhere I originally tried renaming Key_mgmt to WPA2 and/or changing group=CCMP, but neither of those were necessary for me; simply deleting the line was sufficient.

                    A 1 Reply Last reply Reply Quote 1
                    • A Offline
                      andyc7687 @cdh1001
                      last edited by

                      @cdh1001 thanks, I will amend my guide over the weekend then.

                      1 Reply Last reply Reply Quote 1
                      • S Offline
                        Smolo
                        last edited by

                        Thanks for the script and the hints so far :-)

                        Unfortunately I am really frustrated after x installations. :-( Currently everything is installed the autostart works but chrome says “err_connection_refused”!

                        Does anyone have an idea?

                        Zero W V1.1 / Raspian Desktop / no sudo

                        bheplerB 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 17
                        • 18
                        • 4 / 18
                        • First post
                          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