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 12.7k 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.
    • P Offline
      panos @sdetweil
      last edited by panos

      @sdetweil still no luck…:(

      pi@raspberrypi:~/MagicMirror $ npm install

      magicmirror@2.8.0 install /home/pi/MagicMirror
      cd vendor && npm install

      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“arm”})

      audited 220 packages in 13.958s
      found 5 vulnerabilities (4 low, 1 high)
      run npm audit fix to fix them, or npm audit for details

      magicmirror@2.8.0 postinstall /home/pi/MagicMirror
      sh installers/postinstall/postinstall.sh && npm run install-fonts

      MagicMirror installation successful!

      magicmirror@2.8.0 install-fonts /home/pi/MagicMirror
      cd fonts && npm install

      audited 1 package in 1.893s
      found 0 vulnerabilities

      audited 3581 packages in 72.743s
      found 44 high severity vulnerabilities
      run npm audit fix to fix them, or npm audit for details

      When I manually try to launch MagicMirror I get this:

      pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 npm start

      magicmirror@2.8.0 start /home/pi/MagicMirror
      sh run-start.sh

      Starting MagicMirror: v2.8.0
      Loading config …
      Loading module helpers …
      No helper found for module: alert.
      Initializing new module helper …
      Module helper loaded: updatenotification
      No helper found for module: clock.
      Initializing new module helper …
      Module helper loaded: calendar
      No helper found for module: calendar_monthly.
      WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘del’
      Loading module helpers …
      No helper found for module: alert.
      Initializing new module helper …
      Module helper loaded: updatenotification
      No helper found for module: clock.
      Initializing new module helper …
      Module helper loaded: calendar
      No helper found for module: calendar_monthly.
      App threw an error during load
      Error: Cannot find module ‘del’
      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. (/home/pi/MagicMirror/modules/mmm-moon-phases/node_helper.js:3:11)
      at Object. (/home/pi/MagicMirror/modules/mmm-moon-phases/node_helper.js:39: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 ‘del’
      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. (/home/pi/MagicMirror/modules/mmm-moon-phases/node_helper.js:3:11)
      at Object. (/home/pi/MagicMirror/modules/mmm-moon-phases/node_helper.js:39: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.

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

        ok, one more forceful try

        from the MagicMirror folder do

        rm -rf node_modules
        npm install
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          panos @sdetweil
          last edited by

          @sdetweil No man…:( still the same

          1 Reply Last reply Reply Quote 0
          • P Offline
            panos
            last edited by

            How to completely remove magicmirror in order to install it from scratch?

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

              @panos rename the MagicMirror folder to MagicMirror-old

              then run install again…

              then u can copy modules, config file, … then when all is good,
              rm -rf MagicMirror-old

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • P Offline
                panos
                last edited by panos

                Finally I get this worked!!
                thanks dude

                Edit:
                After restoring config/custom.css/ and install all modules from the beginning, the problem has occurred again.:(:(

                S 1 Reply Last reply Reply Quote 0
                • P Offline
                  panos
                  last edited by

                  Is there a way to install v2.7 instead?

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

                    @panos that generally means a mismatch between node_module levels…

                    so, in each module with a node_modules folder do

                    rm -rf node_modules
                    npm install
                    

                    first, just disable one module at a time,
                    update the failing one first

                    add disabled: true,
                    in front of the module name

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    P 1 Reply Last reply Reply Quote 0
                    • P Offline
                      panos @sdetweil
                      last edited by panos

                      @sdetweil it turns out that MMM-moon-phases module has the problem! I comment out the code and everything works like a charm!! Thanks for your help!!

                      Mykle1M 1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @panos
                        last edited by

                        @panos

                        There are other moon phase modules that you can try. Search the 3rd party modules page

                        Create a working config
                        How to add modules

                        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
                        • 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