MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

MagicMirror won't start with newest build



  • 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!



  • @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


  • Project Sponsor

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



  • @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



  • @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?



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



  • @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



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



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


Log in to reply