• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MagicMirror won't start with newest build

Scheduled Pinned Locked Moved Solved Troubleshooting
8 Posts 4 Posters 2.0k Views 3 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.
  • P Offline
    parthp90
    last edited by Oct 27, 2019, 4:18 PM

    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 Offline
      sdetweil @roooooony
      last edited by Oct 31, 2019, 4:21 AM

      @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

      How to add modules

      learning how to use browser developers window for css changes

      R 1 Reply Last reply Oct 31, 2019, 4:59 AM Reply Quote 2
      • B Offline
        broberg Project Sponsor
        last edited by Oct 27, 2019, 5:19 PM

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

        P 1 Reply Last reply Oct 27, 2019, 7:17 PM Reply Quote 0
        • P Offline
          parthp90 @broberg
          last edited by Oct 27, 2019, 7:17 PM

          @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 Oct 27, 2019, 7:55 PM Reply Quote 0
          • S Offline
            sdetweil @parthp90
            last edited by Oct 27, 2019, 7:55 PM

            @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

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • R Offline
              roooooony
              last edited by Oct 31, 2019, 3:40 AM

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

              S 1 Reply Last reply Oct 31, 2019, 4:21 AM Reply Quote 0
              • S Offline
                sdetweil @roooooony
                last edited by Oct 31, 2019, 4:21 AM

                @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

                How to add modules

                learning how to use browser developers window for css changes

                R 1 Reply Last reply Oct 31, 2019, 4:59 AM Reply Quote 2
                • R Offline
                  roooooony @sdetweil
                  last edited by Oct 31, 2019, 4:59 AM

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

                  S 1 Reply Last reply Oct 31, 2019, 11:48 AM Reply Quote 0
                  • S Offline
                    sdetweil @roooooony
                    last edited by Oct 31, 2019, 11:48 AM

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

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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