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

    Scheduled Pinned Locked Moved Solved Troubleshooting
    18 Posts 3 Posters 6.3k Views 4 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.
    • V
      Vauxdvihl
      last edited by

      Config check shows no errors
      and unfortunately does the other thing not work
      Any other debug possibility?
      thanks

      S lavolp3L 2 Replies Last reply
      Reply Quote 0
      • S
        sdetweil @Vauxdvihl
        last edited by

        @Vauxdvihl try keyboard on mirror, ctrl-shift-i to open dev window

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply
        Reply Quote 0
        • lavolp3L
          lavolp3 Module Developer @Vauxdvihl
          last edited by

          @Vauxdvihl or, from your laptop or pc, you can ssh into the mirror, got to the MagicMirror directory and execute the following for dev mode:

          pm2 stop all
          npm start dev
          

          See if there are errors coming up in the console.

          Is there still no troubleshooting guide around to reference to?

          How to troubleshoot modules
          MMM-soccer v2, MMM-AVStock

          1 Reply Last reply
          Reply Quote 0
          • V
            Vauxdvihl
            last edited by

            npm start dev
            

            results in

            pi@PiMirrorNeu:~ $ npm start dev
            npm ERR! code ENOENT
            npm ERR! syscall open
            npm ERR! path /home/pi/package.json
            npm ERR! errno -2
            npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
            npm ERR! enoent This is related to npm not being able to find a file.
            npm ERR! enoent 
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/pi/.npm/_logs/2020-01-06T19_11_05_569Z-debug.log
            
            
            S 1 Reply Last reply
            Reply Quote 0
            • S
              sdetweil @Vauxdvihl
              last edited by

              @Vauxdvihl from the magicmirror folder

              all commands suggested are always from the magic mirror folder

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply
              Reply Quote 0
              • V
                Vauxdvihl
                last edited by

                Ah ok
                Sorry

                DevTools was disconnected from the page.
                Once the page is reloaded, DevTools will automatically reconnect.
                
                S 1 Reply Last reply
                Reply Quote 0
                • S
                  sdetweil @Vauxdvihl
                  last edited by

                  @Vauxdvihl this is still MagicMirror version 2.9?

                  a guess

                  do

                  cd ~/MagicMirror
                  git checkout modules/node_modules/node_helper/index.js
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply
                  Reply Quote 0
                  • V
                    Vauxdvihl
                    last edited by

                    @sdetweil
                    Where do i see it?

                    Nothing happen:

                    pi@PiMirrorNeu:~/MagicMirror $ git checkout modules/node_modules/node_helper/index.js
                    pi@PiMirrorNeu:~/MagicMirror $ 
                    
                    S 1 Reply Last reply
                    Reply Quote 0
                    • S
                      sdetweil @Vauxdvihl
                      last edited by

                      @Vauxdvihl
                      and then restart mirror

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply
                      Reply Quote 0
                      • V
                        Vauxdvihl
                        last edited by

                        @sdetweil
                        Mirror stays black :-(

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

                          @Vauxdvihl if you do

                          cd ~/MagicMirror
                          npm start
                          

                          what do you see on the terminal window?

                          (alt-spacebar, n to minimize MM screen)

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply
                          Reply Quote 0
                          • V
                            Vauxdvihl
                            last edited by

                            pi@PiMirrorNeu:~/MagicMirror $ npm start
                            
                            > magicmirror@2.9.0 start /home/pi/MagicMirror
                            > sh run-start.sh
                            
                            Starting MagicMirror: v2.9.0
                            Loading config ...
                            Loading module helpers ...
                            No helper found for module: alert.
                            Initializing new module helper ...
                            Module helper loaded: newsfeed
                            No helper found for module: clock.
                            Initializing new module helper ...
                            Module helper loaded: MMM-PublicTransportHafas
                            No helper found for module: MMM-HTMLBox.
                            Initializing new module helper ...
                            Module helper loaded: MMM-DarkSkyForecast
                            Initializing new module helper ...
                            Module helper loaded: MMM-CalendarExt2
                            Initializing new module helper ...
                            Module helper loaded: MMM-BMW-DS
                            No helper found for module: MMM-Globe.
                            No helper found for module: MMM-Timetable.
                            WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'del'
                            Require stack:
                            - /home/pi/MagicMirror/modules/mmm-weatherchart/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: newsfeed
                            No helper found for module: clock.
                            Initializing new module helper ...
                            Module helper loaded: MMM-PublicTransportHafas
                            No helper found for module: MMM-HTMLBox.
                            Initializing new module helper ...
                            Module helper loaded: MMM-DarkSkyForecast
                            Initializing new module helper ...
                            Module helper loaded: MMM-CalendarExt2
                            Initializing new module helper ...
                            Module helper loaded: MMM-BMW-DS
                            No helper found for module: MMM-Globe.
                            No helper found for module: MMM-Timetable.
                            App threw an error during load
                            Error: Cannot find module 'del'
                            Require stack:
                            - /home/pi/MagicMirror/modules/mmm-weatherchart/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:627:15)
                                at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
                                at Function.Module._load (internal/modules/cjs/loader.js:531:27)
                                at Module.require (internal/modules/cjs/loader.js:685:19)
                                at require (internal/modules/cjs/helpers.js:16:16)
                                at Object.<anonymous> (/home/pi/MagicMirror/modules/mmm-weatherchart/node_helper.js:3:11)
                                at Module._compile (internal/modules/cjs/loader.js:786:30)
                                at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
                                at Module.load (internal/modules/cjs/loader.js:645:32)
                                at Function.Module._load (internal/modules/cjs/loader.js:560:12)
                            Whoops! There was an uncaught exception...
                            Error: Cannot find module 'del'
                            Require stack:
                            - /home/pi/MagicMirror/modules/mmm-weatherchart/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:627:15)
                                at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
                                at Function.Module._load (internal/modules/cjs/loader.js:531:27)
                                at Module.require (internal/modules/cjs/loader.js:685:19)
                                at require (internal/modules/cjs/helpers.js:16:16)
                                at Object.<anonymous> (/home/pi/MagicMirror/modules/mmm-weatherchart/node_helper.js:3:11)
                                at Module._compile (internal/modules/cjs/loader.js:786:30)
                                at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
                                at Module.load (internal/modules/cjs/loader.js:645:32)
                                at Function.Module._load (internal/modules/cjs/loader.js:560:12) {
                              code: 'MODULE_NOT_FOUND',
                              requireStack: [
                                '/home/pi/MagicMirror/modules/mmm-weatherchart/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
                            Launching application.
                            
                            
                            S 1 Reply Last reply
                            Reply Quote 0
                            • S
                              sdetweil @Vauxdvihl
                              last edited by sdetweil

                              @Vauxdvihl Error: Cannot find module ‘del’

                              that will do it

                              do

                              cd ~/MagicMirror
                              npm install del 
                              

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply
                              Reply Quote 0
                              • V
                                Vauxdvihl
                                last edited by

                                What is “del”
                                And why is needed now?
                                Strange

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

                                  @Vauxdvihl it was needed by MMM-Weatherchart module, but got deleted on the base update.

                                  the automated script cycle was skipped due to the error
                                  (this is the WHOLE reason I created the automated script, to cover this very problem)

                                  what is it? its some npm library the module uses

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  1 Reply Last reply
                                  Reply Quote 0
                                  • V
                                    Vauxdvihl
                                    last edited by

                                    Ok
                                    Thanks
                                    Everythings works fine now

                                    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