MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Black Screen After MM Update

    Scheduled Pinned Locked Moved Troubleshooting
    4 Posts 2 Posters 1.3k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sonicgoose
      last edited by sonicgoose

      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?

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @sonicgoose
        last edited by

        @sonicgoose said in Black Screen After MM Update:

        cd /MagicMirror
        git pull
        npm install

        is MagicMirror really in the root? or in user folder ~/MagicMirror

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sonicgoose @sdetweil
          last edited by

          @sdetweil User. Sorry, I was logged in through ssh as the user, so no need to type the ~ before.

          Short answer: ~/MagicMirror

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sonicgoose @sonicgoose
            last edited by

            Reinstalled MM and modules from scratch. Backup was too old and I had changed too much since it was done. Reinstalling was faster.

            1 Reply Last reply Reply Quote 0

            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
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy