UNSOLVED Worked for 5 minutes...
After finally getting MM to boot with all the modules appearing on screen, one of the messages was to have the master bench updated, 2500 behind.
Once I was able to get the update to go through, I rebooted and poof. Mama loads but it’s an entirely black screen with no modules.
How do I bring them back?
I know very little about the command lines so talk very slow and spell out the cmd lines for me please! thank you for any help.
@Chritix - Did you remember to run the install commands after you did the upgrade?
cd ~/MagicMirror npm install cd modules [ go into each module folder and enter:] npm install
@bhepler I didn’t. and that fixed it. tyvm.
@bhepler we should start a new script for upgrades
#!/bin/bash # change to MagicMirror folder cd ~/MagicMirror # get the latest upgrade if git pull; then # update any dependencies for base if npm install; # process updates for modules after base chnaged cd modules # get the list of modules with package.json files find -maxdepth 2 -name 'package.json' | while IFS= read -r FILE; do echo "processing for module " $(dirname $FILE) # change to that directory cd $(dirname $FILE) # process its dependencies npm install # return to modules folder cd - >/dev/null done return to Magic Mirror folder cd - >/dev/null fi else echo git pull failed # return to original folder cd - >/dev/null fi
see dedicated topic and call for collaboration