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.

    PI Zero module issues for this beginner

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    24 Posts 2 Posters 6.5k Views 2 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.
    • S Offline
      sdetweil @wagon40
      last edited by sdetweil

      @wagon40 from the page I referenced

      bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
      

      you can do that over ssh, or on the pi monitor terminal session

      it will prompt you about autostart with pm2 and turning off screensaver

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      W 1 Reply Last reply Reply Quote 0
      • W Offline
        wagon40 @sdetweil
        last edited by

        @sdetweil
        all was going well until the dependencies stopped it. tired to send the code using </> or :: but it blanks out the submit button?

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

          @wagon40

          npm WARN grunt-stylelint@0.13.0 requires a peer of stylelint@^12.0.0 but none is installed. You must install peer dependencies yourself.
          
          npm ERR! code ELIFECYCLE
          npm ERR! errno 1
          npm ERR! electron-chromedriver@1.8.0 install: `node ./download-chromedriver.js`
          npm ERR! Exit status 1
          npm ERR!
          npm ERR! Failed at the electron-chromedriver@1.8.0 install 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/2020-02-05T21_24_22_985Z-debug.log
          Unable to install dependencies!
          
          
          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @wagon40
            last edited by

            @wagon40 hm… I don’t see that on my pi 0…

            And electron is optional, so there should be no need for chrome driver

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              Same issue I had with the other download. any suggestion?

              
              npm ERR! code ELIFECYCLE
              npm ERR! errno 1
              npm ERR! electron-chromedriver@1.8.0 install: `node ./download-chromedriver.js`
              npm ERR! Exit status 1
              npm ERR!
              npm ERR! Failed at the electron-chromedriver@1.8.0 install 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/2020-02-05T22_31_04_266Z-debug.log
              
              
              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @wagon40
                last edited by

                @wagon40 I will have to look. It will be a couple hours. Have grandson now

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  Tried to npm start and it states that i dont have a config.js. went to the desktop and i can navigate to the magicmirror file and open the config sample. not sure why it isnt loading? did a reboot and it is not starting MM.

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @wagon40
                    last edited by sdetweil

                    @wagon40 because the install didn’t finish… copy config.js.sample to config.js

                    can u show me the ~/install.log?

                    other things might fail too… as it didn’t complete the install steps…

                    i am trying again right now on my pi 0, but on jessie (as thats the OS level I have installed there at the moment)

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      nothing for install.log. tried a few different ways. I was able to make a copy but just a black screen on npm start up. not sure what to do.

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

                        I ran this command and got that

                        npm run config:check

                        npm ERR! code ENOENT
                        npm ERR! syscall open
                        npm ERR! path /home/pi/package.json
                        npm ERR! errno -2
                        npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
                        npm ERR! enoent This is related to npm not being able to find a file.
                        npm ERR! enoent
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /home/pi/.npm/_logs/2020-02-06T00_34_33_299Z-debug.log
                        
                        
                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 3 / 3
                        • 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