Read the statement by Michael Teeuw here.
Blank screen after updating tonight...
-
I just updated my MagicMirror, and I now get a blank screen. There is only one instance running, and when I stop and start the process through pm2, I get the desktop and the blank screen again, respectively.
I used:
git pull
and received a message about package-lock.json needing to be stashed. I backed it up, then used:
git reset --hard
git pull
npm installImmediately upon reboot, I received a blank screen. I also copied package-lock.bak to package-lock.json, and I still get the blank screen. I’m running both pihole and MagicMirror. Any assistance would be greatly appreciated.
-
UPDATE: It’s the PIR-Sensor Module which isn’t working. When I delete it from the config file, everything works great. When I add it back, the screen is completely blank. It’s the same config that was working before the update.
-
Mine also not working on RPi3, and removing the exact same plugin does not remedy the situation. Sample config does make it behave, but it seems like there might be another plugin issue?
I’m running (or used to run)
Remote Control
DarkSky Forecast
Network Scanner
Volumio Playing
Roomba
Notification Trigger
Hotword
Assistant Mk2
Buttons
and PIR sensor.I upgraded because Electron was leaking or whatever it does to slow to a crawl, and slushing back to a previous Electron had not fixed the problem. Too tired to try them all one at a time right now, but I guess I’ll go to it tomorrow.
-
I have faced the same problem , any solution ?
-
use ctrl-shift-i to open the developers window and select the console tab, scroll around to see any errors, (red text)
also, if you updated, u generally need to re-run npm install in every module that has a package,json file.
The Hotword and Assistant will need electron-rebuild more than likely -
thank you , i make the npm install in every module with package.json but he doesn’t work
-
@ines ok, we need to see the error… open the developers window
how do you start MM, with PM2, or something else…
the pm2.log might help too if used
-
WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/binding/Release/electron-v3.0-linux-arm/snowboy.node’
this the error that i ve faced after the new update
-
@ines ok, you need to follow the instructions in hotword for the electron-rebuild
But maybe in kiosk mode, you may meet some error like this; Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/binding/Release/electron-v2.0-linux-arm/snowboy.node' In that case, you need to rebuild some binaries to match with Electron version. cd ~/MagicMirror/modules/MMM-Hotword/node_modules/snowboy npm install --save-dev electron-rebuild npm install nan ./node_modules/.bin/electron-rebuild # It could takes dozens sec. -
note that you will have the same problem in Assistant too
see
https://forum.magicmirror.builders/topic/10189/mmm-assistantmk2-breaks-with-mm-v2-7-0
-
@sdetweil said in Blank screen after updating tonight...:
./node_modules/.bin/electron-rebuild
thank you @sdetweil , the problem was solved you need to make the electron-rebuilt into mmm-assistantMk2 and mmm-hotword too
-
Sorry, I am a beginner from Germany. Maybe you can help.
It won’t let me update because of this message:
“Ihre lokalen Änderungen in den folgenden Dateien würden durch den Merge überschrieben werden”
which translates to:
“Your local changes in the following files would be overwritten by the merge”
and then it lists like 5 or 6 package.json files. What can I do?Danke/Thanks!
-
@thedoorsfanatic you can pout those changes away temporarily with
git stash
after installing, if u want those back,
git stash pop
-
I got it working by removing MMM-PIR-Sensor and reinstalling it. Simply updating it did not work.
-
@sdetweil Thanks for these leads! Now that you mention it, why would I not need to do this… I’ll let you know how it goes…
-
@sdetweil LIKE A CHARM. All is well with Assistant and Hotword, just as you describe. MMM-Buttons also required and npm install, as well as MMM-PIR-Sensor. So, basically, maintenance on all the plugins.
-
@sdetweil said in Blank screen after updating tonight...:
git stash
Thanks for your quick reply and your tipp that worked for me.
After git stash I updated MM to 2.7.1 and then I cd 'ed into every installed module and did npm install.Excuse my bad English and sorry to bug you and thanks again fpr your time!
Noob from Germany
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login