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

MM cant boot, wont boot!



  • Hi,
    Complete noob here so please word your responses for 10 year olds 🙂

    Recently my MagicMirror has been booting to a black sceen. A literal black screen, and the only way to remove it is to minimize the window.
    I think the problem started when i tried to update the program. I have tried since to update and think i have succeeded however now it seems not not boot at all. Even manually via SSH

    My pi just boots to the standard UI.

    Any Ideas???



  • @nicoz if u updated, (git pull) did u npm install after?

    also, sometimes existing modules need to have their stuff refreshed after the base refreshes
    (all leading to black screen)

    I have a script for future updates that figures this all out…

    in the short term, make sure you did

    cd ~/MagicMirror
    npm install
    

    then check each module folder, and if there is an package.json file, also do the

    npm install 
    

    for each such folder
    then restart mm


  • Module Developer

    One other thing you can do is run “npm run config:check” in the magicmirror root directory (~/MagicMirror) - it’ll run through and see if there’s anything that’s slightly out of wack to blank the mirror but not out of wack enough to throw an error. It’s saved me lots of headaches several times.



  • npm install seemed to work in that i dont get a black screen anymore.

    npm start will start the mirror but for some reason it wont stay open. i come back to the mirror and i am back at the Rasbian Home screen?

    i also tried config:check but i dont really know what im looking at



  • @nicoz when u do npm start is shows messages to the screen…

    can you do

    npm start > somefile 2>&1

    and when it ends, look at somefile



  • @BKeyport said in MM cant boot, wont boot!:

    One other thing you can do is run “npm run config:check” in the magicmirror root directory (~/MagicMirror) - it’ll run through and see if there’s anything that’s slightly out of wack to blank the mirror but not out of wack enough to throw an error. It’s saved me lots of headaches several times.

    I am having this same issue. I ran the update and everything was fine except my calendar and the 2 day weather thing, which looks like a known bug. I rebooted and am only getting a black screen with the mouse cursor. I did some digging and ran the npm install on the main magic mirror directory, and the directories for the modules i’m using, and it’s still not working. I tried to do the npm run config:check and it came back with an error saying " > magicmirror@2.11.0 config:check /home/pi/MagicMirror

    node tests/configs/check_config.js

    internal/modules/cjs/loader.js:638
    throw err;
    ^

    Error: Cannot find module ‘/home/pi/MagicMirror/tests/configs/check_config.js’
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! magicmirror@2.11.0 config:check: node tests/configs/check_config.js
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the magicmirror@2.11.0 config:check 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-07-02T20_48_03_566Z-debug.log"



  • @Cyric u ran the update? how?



  • @sdetweil can u open the developers window, ctrl-shift-i, select the tab labeled console, and scroll up to see any errors



  • @sdetweil I did git pull in the ~/MagicMirror parent directory. That gave me a few errors about changes, so i just did git pull --hard. Then I did npm install. For the other modules, i just did git pull and npm install.



  • @sdetweil Im sorry, where do i do this at?


Log in to reply