Read the statement by Michael Teeuw here.
Black Screen After v2.8.0 Update
-
Hey Guys, new to the magic mirror forums here. Ive been lurking around trying to find and answer, and have read a bunch of similar posts but nothing seems to help. ( I can also post my config file if needed as well)
Every time i start my mirror i get a blank screen, this happened after i updated my mirror and had to stash my changes because i had changed my config files.
I get this no helper module found for all of my modules. Ive gone into every file and ran npm install, and then npm audit fix when they couldnt be installed. It seemed to run fine but still i have the blank screen. Ive updated my Pi, and tried a bunch of fixes that seemed to help other people. Went into the snowboy folder and updated that as well
Also tried downgrading my electron build, as i have seen other people do that as well. Any help or ideas would be greatly appreciated! I just wanted to update my mirror!
Also i cant seem to use the ususal ctrl+c, or ctrl+m to minimize or quit… I have to use alt+space to minimize it…
pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 npm start > magicmirror@2.7.1 start /home/pi/MagicMirror > sh run-start.sh Starting MagicMirror: v2.7.1 Loading config ... Loading module helpers ... No helper found for module: alert. Initializing new module helper ... Module helper loaded: updatenotification No helper found for module: clock. Initializing new module helper ... Module helper loaded: calendar No helper found for module: currentweather. No helper found for module: weatherforecast. Initializing new module helper ... Module helper loaded: MMM-NowPlayingOnSpotify Initializing new module helper ... Module helper loaded: MMM-NotificationTrigger 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-v5.0-linux-arm/snowboy.node' Require stack: - /home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/index.js - /home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js - /home/pi/MagicMirror/js/app.js - /home/pi/MagicMirror/js/electron.js - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js - Loading module helpers ... No helper found for module: alert. Initializing new module helper ... Module helper loaded: updatenotification No helper found for module: clock. Initializing new module helper ... Module helper loaded: calendar No helper found for module: currentweather. No helper found for module: weatherforecast. Initializing new module helper ... Module helper loaded: MMM-NowPlayingOnSpotify Initializing new module helper ... Module helper loaded: MMM-NotificationTrigger App threw an error during load Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/binding/Release/electron-v5.0-linux-arm/snowboy.node' Require stack: - /home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/index.js - /home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js - /home/pi/MagicMirror/js/app.js - /home/pi/MagicMirror/js/electron.js - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js - at Module._resolveFilename (internal/modules/cjs/loader.js:659:15) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:43:12) at Function.Module._load (internal/modules/cjs/loader.js:577:27) at Module.require (internal/modules/cjs/loader.js:715:19) at require (internal/modules/cjs/helpers.js:14:16) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/index.js:8:29) at Module._compile (internal/modules/cjs/loader.js:815:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10) at Module.load (internal/modules/cjs/loader.js:677:32) at tryModuleLoad (internal/modules/cjs/loader.js:609:12) Whoops! There was an uncaught exception... { Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/binding/Release/electron-v5.0-linux-arm/snowboy.node' Require stack: - /home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/index.js - /home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js - /home/pi/MagicMirror/js/app.js - /home/pi/MagicMirror/js/electron.js - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js - at Module._resolveFilename (internal/modules/cjs/loader.js:659:15) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:43:12) at Function.Module._load (internal/modules/cjs/loader.js:577:27) at Module.require (internal/modules/cjs/loader.js:715:19) at require (internal/modules/cjs/helpers.js:14:16) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/index.js:8:29) at Module._compile (internal/modules/cjs/loader.js:815:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10) at Module.load (internal/modules/cjs/loader.js:677:32) at tryModuleLoad (internal/modules/cjs/loader.js:609:12) code: 'MODULE_NOT_FOUND', requireStack: [ '/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/index.js', '/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js', '/home/pi/MagicMirror/js/app.js', '/home/pi/MagicMirror/js/electron.js', '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js', undefined ] } 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 Fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank" Launching application.
-
Update: I had removed my config.js file, and renamed the config.js.sample to be the config.js file.
The mirror boots up, with no problems and seems to display the normal sample items.
SO this must be an issue with one of my modules? i do see it cannot find electron in the hotword snowboy folder.
Here are posts of just the warnings. I also cannot seem to run
npm start dev
eitherError: Cannot find module '/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/binding/Release/electron-v5.0-linux-arm/snowboy.node' Require stack:
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-v5.0-linux-arm/snowboy.node' Require stack:
code: 'MODULE_NOT_FOUND', requireStack: [ '/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/index.js', '/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js', '/home/pi/MagicMirror/js/app.js', '/home/pi/MagicMirror/js/electron.js', '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js', undefined ] }
-
After you updated the MagicMirror framework, did you rebuild your modules?
Go into each module folder and rebuild with
npm install
. The restart your MagicMirror process and see if that gets you up & running.