Read the statement by Michael Teeuw here.
Black screen after install update v2.2
-
@Blackmirror can you run your mirror with
npm start dev
and check for errors in the console? -
Okay. here:
//Starting MagicMirror: v2.2.0 Loading config ... Loading module helpers ... No helper found for module: alert. No helper found for module: MMM-Carousel. WARNING! Could not load config file. Starting with default configuration. Error found: Error: Module version mismatch. Expected 50, got 53. Loading module helpers ... No helper found for module: alert. No helper found for module: MMM-Carousel. App threw an error during load Error: Module version mismatch. Expected 50, got 53. at Error (native) at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20) at Object.Module._extensions..node (module.js:583:18) at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) at Function.Module._load (module.js:424:3) at Module.require (module.js:483:17) at require (internal/module.js:20:19) at bindings (/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/bindings/bindings.js:76:44) Whoops! There was an uncaught exception... Error: Module version mismatch. Expected 50, got 53. at Error (native) at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20) at Object.Module._extensions..node (module.js:583:18) at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) at Function.Module._load (module.js:424:3) at Module.require (module.js:483:17) at require (internal/module.js:20:19) at bindings (/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/bindings/bindings.js:76:44) MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues Launching application.
-
@Blackmirror try to got to
cd /home/pi/MagicMirror/modules/MMM-Buttons
and runnpm rebuild
-
Okay. after npm rebuild the Mirror is still black.
-
I updated to V2.2.1 on my RPI2: no problem.
Calendar entries work better now.
Thanks for the work!
Peter -
My suggestion would be to back your modules and your working config.js and delete MM and install the new version… That’s the quickest and easiest way
-
I had to do a complete reinstall. Used a backed up sd card and the same error kept appearing in the logs. Backed up all my configs and mods. Did a fresh install and all works fine. Could have been one of the modules that gave it an error, I do not know but the calendar works great now.
Thanks
carltonb -
@carltonb Well sometimes things get ‘lost’ or don’t install properly…so at times things can go wrong and cannot be fixed so that was the best answer. Glad you got it working!!
-
A quick way to fix this:
cd modules/MMM-Buttons npm install electron-rebuild ./node_modules/.bin/electron-rebuild
It always worked for me…
-
@ryck said in Black screen after install update v2.2:
cd modules/MMM-Buttons
npm install electron-rebuild
./node_modules/.bin/electron-rebuildYou are my hero… :)