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.

    Blackscreen after update to v.2.8.0

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    30 Posts 8 Posters 10.4k Views 7 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.
    • mumblebajM Offline
      mumblebaj Module Developer @Blackmirror
      last edited by

      @Blackmirror Hi. Are there any errors in pm2 logs?

      Check out my modules at: https://github.com/mumblebaj?tab=repositories
      Check my blog-post: https://mumblebaj.xyz/

      1 Reply Last reply Reply Quote 0
      • B Offline
        Blackmirror
        last edited by

        Thanks.

        I have only npm install at Magicmirror not for the modules.

        Now it was running fine.

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

          @Blackmirror great!.. thanks for the feedback…

          I am working on an upgrade script to do all this for users.
          https://forum.magicmirror.builders/topic/10729/new-script-for-mirror-release-upgrades

          how many modules did u have to npm install for?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • P Offline
            potts-mike
            last edited by

            I am having the same issue but doing npm install in all of the modules folders doesn’t resolve it. Any other thoughts?

            mumblebajM 1 Reply Last reply Reply Quote 0
            • mumblebajM Offline
              mumblebaj Module Developer @potts-mike
              last edited by

              @potts-mike Are there any issues in your config.js? Can you run npm run config:check and see if there are errors?

              Check out my modules at: https://github.com/mumblebaj?tab=repositories
              Check my blog-post: https://mumblebaj.xyz/

              1 Reply Last reply Reply Quote 0
              • P Offline
                potts-mike
                last edited by

                I can, should I run that from the config file?

                I will say though that it worked before the upgrade and I tried the config.js.sample file and it didnt work.

                bheplerB 1 Reply Last reply Reply Quote 0
                • bheplerB Offline
                  bhepler Module Developer @potts-mike
                  last edited by

                  @potts-mike - Run it from the command line in the /home/pi/MagicMirror folder.

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    potts-mike
                    last edited by

                    THe config file does not contain syntax errors.

                    pi@raspberrypi:~/MagicMirror $ npm run config:check
                    
                    > magicmirror@2.8.0 config:check /home/pi/MagicMirror
                    > node tests/configs/check_config.js
                    
                    Checking file...  /home/pi/MagicMirror/config/config.js
                    Your configuration file doesn't contain syntax errors :)
                    pi@raspberrypi:~/MagicMirror $ 
                    
                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @potts-mike
                      last edited by

                      @potts-mike ok, then do

                      npm start dev
                      

                      Or

                      Ctrl-shift-i   if already running
                      

                      And in the developers window, select the console tab, and scroll up to find any errors. Red text usually.

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        potts-mike
                        last edited by

                        I know that the last thing it says it is launching the app but a white screen with the developer console opens with the error “Dev tools was disconnected from the page…”

                        pi@raspberrypi:~/MagicMirror $ npm start dev
                        
                        > magicmirror@2.8.0 start /home/pi/MagicMirror
                        > sh run-start.sh "dev"
                        
                        Starting MagicMirror: v2.8.0
                        Loading config ...
                        Loading module helpers ...
                        WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'node_helper'
                        Loading module helpers ...
                        App threw an error during load
                        Error: Cannot find module 'node_helper'
                            at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
                            at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
                            at Function.Module._load (internal/modules/cjs/loader.js:528:25)
                            at Module.require (internal/modules/cjs/loader.js:658:17)
                            at require (internal/modules/cjs/helpers.js:20:18)
                            at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Sonos/node_helper.js:7:18)
                            at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Sonos/node_helper.js:30:3)
                            at Module._compile (internal/modules/cjs/loader.js:711:30)
                            at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
                            at Module.load (internal/modules/cjs/loader.js:620:32)
                        Whoops! There was an uncaught exception...
                        { Error: Cannot find module 'node_helper'
                            at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
                            at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
                            at Function.Module._load (internal/modules/cjs/loader.js:528:25)
                            at Module.require (internal/modules/cjs/loader.js:658:17)
                            at require (internal/modules/cjs/helpers.js:20:18)
                            at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Sonos/node_helper.js:7:18)
                            at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Sonos/node_helper.js:30:3)
                            at Module._compile (internal/modules/cjs/loader.js:711:30)
                            at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
                            at Module.load (internal/modules/cjs/loader.js:620:32) code: 'MODULE_NOT_FOUND' }
                        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.
                        
                        D 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • 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