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 8.6k 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 Do not disturb
      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 Do not disturb
            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 Do not disturb
                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 Do not disturb
                    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
                        • S Do not disturb
                          sdetweil @wagon40
                          last edited by

                          @wagon40 did u run my script? it creates a log file…

                          npm run config:check

                          gotta be IN the MagicMirror folder

                          to get the base config

                          cd ~/MagicMirror/config
                          cp config.js.sample config.js
                          

                          but the system is a mess right now… hang on I am testing a fixed installer…

                          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

                            I appreciate your help and putting up with a noob

                            pi@raspberrypi:~/MagicMirror/config $ npm run config:check
                            
                            > magicmirror@2.10.1 config:check /home/pi/MagicMirror
                            > node tests/configs/check_config.js
                            
                            Checking file...  /home/pi/MagicMirror/config/config.js
                            Your configuration file doesn't contain syntax errors :)
                            
                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil
                              last edited by

                              erase the current MagicMirror folder (rm -rf MagicMirror )

                              and run the install script again , they changed some upstream library to hard fail…
                              but we didn’t need it anyhow…

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              S 1 Reply Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @wagon40
                                last edited by

                                @wagon40 said in PI Zero module issues for this beginner:

                                I appreciate your help and putting up with a noob

                                we were all noobs once…

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 Reply Last reply Reply Quote 0
                                • S Do not disturb
                                  sdetweil @sdetweil
                                  last edited by

                                  @sdetweil my test of installer on buster on pi 0, comes up running fine 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

                                    was able to get it to work. only issues is screensaver continues to active.
                                    tried this with no luck

                                    sudo nano /etc/xdg/lxsession/LXDE/autostart

                                    add the following lines:

                                    @xset s noblank
                                    @xset s off
                                    @xset -dpms
                                    Save and close, using the commands CTRL-O and CTRL-X.

                                    Go to lightdm.conf:

                                    sudo nano /etc/lightdm/lightdm.conf

                                    add the following lines:

                                    xserver-command=X -s 0 -dpms

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Do not disturb
                                      sdetweil @wagon40
                                      last edited by

                                      @wagon40 I noticed that too.

                                      Do this

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

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

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

                                        @sdetweil said in PI Zero module issues for this beginner:

                                        bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/screensaveroff.sh)”

                                        looks like it worked! working on a my-commute issue at this time.

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Do not disturb
                                          sdetweil @wagon40
                                          last edited by

                                          @wagon40 thanks… i’ve copied the same process steps over to the installer… thought I had done that.

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          1 Reply Last reply Reply Quote 0

                                          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
                                          • 1
                                          • 2
                                          • 1 / 2
                                          • 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