MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    SOLVED Black screen with v2.18.0

    Troubleshooting
    2
    3
    107
    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.
    • B
      bmue last edited by bmue

      Hello,
      Im sorry if Im not posting this in the right place but I was tried to update my MM with “git pull && npm install” but I just get a black screen so I was wondering if someone can point me in the right direction because I’m a complete newbie here.

      I have tried to troubleshoot with some of the previous suggestions in this forum but I’m afraid to break any dependencies or something (If I hadn’t already), and I was already in the finishing process to end my mirror so any help will be so, so much appreciated.

      Thanks in advance

      Im running my MagicMirror through PM2 and here’s the log:

      /home/pi/.pm2/logs/mm-error.log last 15 lines:

      0|mm       | - /home/pi/MagicMirror/js/electron.js
      0|mm       | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      0|mm       | - 
      0|mm       |     at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
      0|mm       |     at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1128)
      0|mm       |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
      0|mm       |     at Module._load (node:internal/modules/cjs/loader:785:27)
      0|mm       |     at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
      0|mm       |     at Module.require (node:internal/modules/cjs/loader:1012:19)
      0|mm       |     at require (node:internal/modules/cjs/helpers:94:18)
      0|mm       |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-cryptocurrency/node_helper.js:2:15)
      0|mm       |     at Module._compile (node:internal/modules/cjs/loader:1116:14)
      0|mm       |     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10)
      0|mm       |     at Module.load (node:internal/modules/cjs/loader:988:32)
      0|mm       |     at Module._load (node:internal/modules/cjs/loader:829:12)
      0|mm       |     at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
      0|mm       |     at Module.require (node:internal/modules/cjs/loader:1012:19)
      0|mm       |     at require (node:internal/modules/cjs/helpers:94:18)
      0|mm       |     at loadModule (/home/pi/MagicMirror/js/app.js:127:19)
      0|mm       |     at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
      0|mm       |     at /home/pi/MagicMirror/js/app.js:167:6
      0|mm       |     at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
      0|mm       |     at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
      0|mm       |     at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
      0|mm       |     at /home/pi/MagicMirror/js/app.js:167:6 {
      0|mm       |   code: 'MODULE_NOT_FOUND',
      0|mm       |   requireStack: [
      0|mm       |     '/home/pi/MagicMirror/modules/MMM-cryptocurrency/node_helper.js',
      0|mm       |     '/home/pi/MagicMirror/js/app.js',
      0|mm       |     '/home/pi/MagicMirror/js/electron.js',
      0|mm       |     '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
      0|mm       |     undefined
      0|mm       |   ]
      0|mm       | }
      0|mm       | [10.01.2022 01:31.29.246] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|mm       | [10.01.2022 01:31.29.248] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      0|mm       | [6258:0110/013130.992573:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
      0|mm       | [6282:0110/013131.304650:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
      0|mm       | [10.01.2022 01:35.26.563] [ERROR] Whoops! There was an uncaught exception...
      0|mm       | [10.01.2022 01:35.26.567] [ERROR] TypeError: Cannot read properties of undefined (reading 'close')
      0|mm       |     at App.stop (/home/pi/MagicMirror/js/app.js:257:14)
      0|mm       |     at App.<anonymous> (/home/pi/MagicMirror/js/electron.js:139:7)
      0|mm       |     at App.emit (node:events:394:28)
      0|mm       |     at appMethod (node:electron/js2c/browser_init:69:1830)
      0|mm       |     at Object.execute (node:electron/js2c/browser_init:69:5623)
      0|mm       |     at MenuItem.click (node:electron/js2c/browser_init:73:1862)
      0|mm       |     at Object.a._executeCommand (node:electron/js2c/browser_init:81:2453)
      0|mm       | [10.01.2022 01:35.26.570] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|mm       | [10.01.2022 01:35.26.573] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      0|mm       | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
      
      
      S 1 Reply Last reply Reply Quote 0
      • B
        bmue @sdetweil last edited by

        @sdetweil said in Black screen with v2.18.0:

        @bmue see

        https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

        need a few more lines of output

        @sdetweil Thanks for replying so fast.
        I just noticed it was a specific module causing those errors. I removed it and I install it again and it’s working.

        Thanks again

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

          @bmue see

          https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

          need a few more lines of output

          Sam

          Create a working config
          How to add modules

          B 1 Reply Last reply Reply Quote 0
          • B
            bmue @sdetweil last edited by

            @sdetweil said in Black screen with v2.18.0:

            @bmue see

            https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

            need a few more lines of output

            @sdetweil Thanks for replying so fast.
            I just noticed it was a specific module causing those errors. I removed it and I install it again and it’s working.

            Thanks again

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy