Read the statement by Michael Teeuw here.
Black Screen After MM Update
-
I know others have had this issue in the past and I’ve looked at those posts but can’t find a solution. I have two MagicMirror installations on different RPis — one update no problem with:
pm2 stop MagicMirror cd /MagicMirror git pull npm install
The second one just gives me a black screen. The developer inspector won’t even open in the browser. Here is the tail end of the error log:
[17.04.2021 12:30.25.807] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './v4' is not defined by "exports" in /home/pi/MagicMirror/node_modules/uuid/package.json [17.04.2021 12:30.25.839] [ERROR] App threw an error during load [17.04.2021 12:30.25.840] [ERROR] Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './v4' is not defined by "exports" in /home/pi/MagicMirror/node_modules/uuid/package.json at applyExports (internal/modules/cjs/loader.js:497:9) at resolveExports (internal/modules/cjs/loader.js:513:23) at Function.Module._findPath (internal/modules/cjs/loader.js:641:31) at Module._resolveFilename (internal/modules/cjs/loader.js:959:27) at Function.n._resolveFilename (electron/js2c/browser_init.js:249:921) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) at Module._load (internal/modules/cjs/loader.js:848:27) at Function.f._load (electron/js2c/asar_bundle.js:5:12738) at Module.require (internal/modules/cjs/loader.js:1032:19) at require (internal/modules/cjs/helpers.js:72:18) [17.04.2021 12:30.25.842] [ERROR] Whoops! There was an uncaught exception... [17.04.2021 12:30.25.851] [ERROR] Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './v4' is not defined by "exports" in /home/pi/MagicMirror/node_modules/uuid/package.json at applyExports (internal/modules/cjs/loader.js:497:9) at resolveExports (internal/modules/cjs/loader.js:513:23) at Function.Module._findPath (internal/modules/cjs/loader.js:641:31) at Module._resolveFilename (internal/modules/cjs/loader.js:959:27) at Function.n._resolveFilename (electron/js2c/browser_init.js:249:921) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) at Module._load (internal/modules/cjs/loader.js:848:27) at Function.f._load (electron/js2c/asar_bundle.js:5:12738) at Module.require (internal/modules/cjs/loader.js:1032:19) at require (internal/modules/cjs/helpers.js:72:18) { code: 'ERR_PACKAGE_PATH_NOT_EXPORTED' } [17.04.2021 12:30.25.853] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [17.04.2021 12:30.25.854] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
Any suggestions?
-
@sonicgoose said in Black Screen After MM Update:
cd /MagicMirror
git pull
npm installis MagicMirror really in the root? or in user folder ~/MagicMirror
-
@sdetweil User. Sorry, I was logged in through ssh as the user, so no need to type the ~ before.
Short answer: ~/MagicMirror
-
Reinstalled MM and modules from scratch. Backup was too old and I had changed too much since it was done. Reinstalling was faster.