Read the statement by Michael Teeuw here.
Blank screen after updating tonight...
-
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.