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 after adding modules.

    Scheduled Pinned Locked Moved Solved Troubleshooting
    13 Posts 2 Posters 1.9k Views 3 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.
    • L Offline
      ljhig @sdetweil
      last edited by

      @sdetweil I will eventually use your script once I’ve got this working, I think it’s really useful and will fit my purpose brilliantly. Gift for my sister who is less tech savvy then me!

      
      pi@raspberrypi:~/MagicMirror $ npm run start
      
      > magicmirror@2.17.1 start /home/pi/MagicMirror
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      [03.10.2021 17:34.32.637] [LOG]   Starting MagicMirror: v2.17.1
      [03.10.2021 17:34.32.650] [LOG]   Loading config ...
      [03.10.2021 17:34.32.663] [LOG]   Loading module helpers ...
      [03.10.2021 17:34.32.667] [LOG]   No helper found for module: MMM-Carousel.
      [03.10.2021 17:34.32.669] [LOG]   No helper found for module: alert.
      [03.10.2021 17:34.32.709] [LOG]   Initializing new module helper ...
      [03.10.2021 17:34.32.712] [LOG]   Module helper loaded: updatenotification
      [03.10.2021 17:34.32.715] [LOG]   No helper found for module: clock.
      [03.10.2021 17:34.32.716] [LOG]   No helper found for module: compliments.
      [03.10.2021 17:34.32.718] [LOG]   No helper found for module: MagicMirror-QuoteCatalog.
      [03.10.2021 17:34.33.558] [LOG]   Initializing new module helper ...
      [03.10.2021 17:34.33.559] [LOG]   Module helper loaded: MMM-NowPlayingOnSpotify
      [03.10.2021 17:34.33.561] [LOG]   No helper found for module: weather.
      [03.10.2021 17:34.33.562] [LOG]   All module helpers loaded.
      [03.10.2021 17:34.33.754] [LOG]   Starting server on port 8080 ... 
      [03.10.2021 17:34.33.798] [LOG]   Server started ...
      [03.10.2021 17:34.33.801] [LOG]   Connecting socket for: updatenotification
      [03.10.2021 17:34.33.803] [LOG]   Connecting socket for: MMM-NowPlayingOnSpotify
      [03.10.2021 17:34.33.805] [LOG]   Sockets connected & modules started ...
      [03.10.2021 17:34.34.230] [LOG]   Launching application.
      [03.10.2021 17:34.37.412] [ERROR] (node:1813) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
      (Use `electron --trace-deprecation ...` to show where the warning was created)
      [03.10.2021 17:34.37.791] [LOG]   Refreshed access token because it has expired. Expired at: 17:34:37 now is: 17:34:37
      [03.10.2021 17:34.42.539] [LOG]   Shutting down server...
      [03.10.2021 17:34.42.541] [LOG]   Stopping module helper: updatenotification
      [03.10.2021 17:34.42.542] [LOG]   Stopping module helper: MMM-NowPlayingOnSpotify
      
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @ljhig
        last edited by

        @ljhig I don’t know. I would start by disabling one module at a time til u find the villian

        add

        disabled:true,
        

        after the
        module:
        line
        for each module,
        restart mm

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        L 2 Replies Last reply Reply Quote 0
        • L Offline
          ljhig @sdetweil
          last edited by

          @sdetweil cheers, starting from scratch again and adding each module one by one, and running after every minor change. Should allow me to catch a problem before it becomes one.

          1 Reply Last reply Reply Quote 1
          • L Offline
            ljhig @sdetweil
            last edited by

            @sdetweil I have used your magic mirror auto start script, how do I disable/enable it so I can access the magic mirror?

            Now when I type CTRL+Q it automatically reopens after 5-10 seconds.

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

              @ljhig pm2’s job is to keep mm running!

              minimize, alt-spacebar, n

              open terminal window
              ctrl-alt-t

              pm2 stop all

              checkout the other pm2 commands

              stop, start, restart, logs, flush

              pm2 --help

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              L 1 Reply Last reply Reply Quote 1
              • L Offline
                ljhig @sdetweil
                last edited by

                @sdetweil thank you! I know I’ve been an absolute pain but just know that I really appreciate experience users offering assistance to simple folk like myself. Have a brilliant day.

                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