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 4.5k 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.
    • S Do not disturb
      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 Offline
        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 Do not disturb
          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 Offline
            Vauxdvihl
            last edited by

            @sdetweil
            Mirror stays black :-(

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              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 Offline
                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 Do not disturb
                  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 Offline
                    Vauxdvihl
                    last edited by

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

                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      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 Offline
                        Vauxdvihl
                        last edited by

                        Ok
                        Thanks
                        Everythings works fine now

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 2 / 2
                        • 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