MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    SOLVED MagicMirror won't start with newest build

    Troubleshooting
    4
    8
    1232
    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.
    • P
      parthp90 last edited by

      after running npm start, I keep getting the following error:

      pi@raspberrypi:~/MagicMirror $ npm start
      
      > magicmirror@2.9.0 start /home/pi/MagicMirror
      > sh run-start.sh
      
      /home/pi/MagicMirror/node_modules/electron/dist/electron: /lib/arm-linux-gnueabihf/libdbus-1.so.3: no version information available (required by /home/pi/MagicMirror/node_modules/electron/dist/electron)
      /home/pi/MagicMirror/node_modules/electron/dist/electron: /usr/lib/arm-linux-gnueabihf/libnss3.so: version `NSS_3.22' not found (required by /home/pi/MagicMirror/node_modules/electron/dist/electron)
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.9.0 start: `sh run-start.sh`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.9.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-10-27T15_55_59_428Z-debug.log
      

      Not sure where to go from here, any help would be appreciated. Thanks!

      1 Reply Last reply Reply Quote 1
      • S
        sdetweil @roooooony last edited by

        @roooooony
        can you do

        ls /usr/lib/arm-linux-gnueabihf/libnss3.so -laF
        and
        ls /lib/arm-linux-gnueabihf/libdbus-1.so.3 -laF
        

        mine are dated aug 22 and Jun 9 (libdbus-1.so.3.19.11) respectively

        and a thing to test out
        rename the ~/MagicMirror/node_modules/electron folder to some other name
        then do

        cd ~/MagicMirror
        npm install electron@6.0.12
        

        then try to start MagicMirror

        Sam

        Create a working config
        How to add modules

        R 1 Reply Last reply Reply Quote 2
        • broberg
          broberg Project Sponsor last edited by

          After update, did you run Npm install in the magicmirror folder?

          P 1 Reply Last reply Reply Quote 0
          • P
            parthp90 @broberg last edited by

            @broberg I did, but I still get the same error. I’ve also tried doing multiple fresh installs including using the updated installer script (https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installer), but always end up with that same error

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

              @parthp90 looks like u don’t have some graphics libraries. So, search Google on the two libs. And install them.

              What os are your running?
              And in graphics mode? Right?

              Sam

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • R
                roooooony last edited by

                I am having the same error, any guidance would be greatly appreciated ( : Thanks!

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

                  @roooooony
                  can you do

                  ls /usr/lib/arm-linux-gnueabihf/libnss3.so -laF
                  and
                  ls /lib/arm-linux-gnueabihf/libdbus-1.so.3 -laF
                  

                  mine are dated aug 22 and Jun 9 (libdbus-1.so.3.19.11) respectively

                  and a thing to test out
                  rename the ~/MagicMirror/node_modules/electron folder to some other name
                  then do

                  cd ~/MagicMirror
                  npm install electron@6.0.12
                  

                  then try to start MagicMirror

                  Sam

                  Create a working config
                  How to add modules

                  R 1 Reply Last reply Reply Quote 2
                  • R
                    roooooony @sdetweil last edited by

                    @sdetweil This worked! Thank you for the quick reply!

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

                      @roooooony thanks… I have opened issue 1800 to document this problem

                      Sam

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • 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