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.
    • 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
            • S Offline
              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 Offline
                  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 Offline
                    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 Offline
                      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
                        • 1
                        • 2
                        • 3
                        • 1 / 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