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.1k 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 Offline
      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 Offline
        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 Offline
          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 Offline
            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 Offline
                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 Offline
                    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 Offline
                        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
                        • 1
                        • 2
                        • 1 / 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