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.

    NPM start, starts but with blank screen

    Scheduled Pinned Locked Moved Troubleshooting
    21 Posts 2 Posters 5.4k Views 2 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 Offline
      sdetweil @natebrown
      last edited by

      @natebrown

      looks like there are two problems

      [2020-10-18 12:12:30.530] [ERROR] ERROR! Could not find main module js file for MMM-GoogleAssistant
      

      MMM-GooogleAssistant.js is not in MagicMirror/modules/MMM-GoogleAssistant folder

      [2020-10-18 12:12:44.270] [LOG] Refreshed access token because it has expired. Expired at: 12:12:42 now is: 12:12:44
      [2020-10-18 12:12:44.455] [LOG] Email notifier error: Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
      

      something wrong with your email module

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      N 1 Reply Last reply Reply Quote 0
      • N Offline
        natebrown @sdetweil
        last edited by

        @sdetweil

        What about this part:

        [2020-10-18 12:12:44.535] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
        [2020-10-18 12:12:44.538] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
        [2020-10-18 12:12:44.564] [LOG] Email notifier error: Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
        at doWrite (_stream_writable.js:413:19)
        at clearBuffer (_stream_writable.js:543:7)
        at Socket.Writable.uncork (_stream_writable.js:321:7)
        at JSStreamSocket.doWrite (internal/js_stream_socket.js:162:17)
        at JSStream.onwrite (internal/js_stream_socket.js:20:57)
        at Socket.ondata (internal/js_stream_socket.js:64:22)
        at Socket.emit (events.js:200:13)
        at addChunk (_stream_readable.js:294:12)
        at readableAddChunk (_stream_readable.js:275:11)
        at Socket.Readable.push (_stream_readable.js:210:10) {
        source: ‘socket’
        }

        N 1 Reply Last reply Reply Quote 0
        • N Offline
          natebrown @natebrown
          last edited by

          @natebrown and this one:

          [2020-10-18 12:12:43.003] [ERROR] (node:25630) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

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

            @natebrown said in NPM start, starts but with blank screen:

            DeprecationWarning:

            just a warning that some code (not ours) is using a library call that is going away sometime in the future

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            N 1 Reply Last reply Reply Quote 0
            • N Offline
              natebrown @sdetweil
              last edited by

              @sdetweil Thanks, also when i start up my Pi, it shows the “Raspberry Pi OS” Screen and I want it to be just black and how do I speed up autostart (I use sh).

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

                @natebrown if u had used the scripted install, it would have asked if u want to use the node process manager, pm to start at boot

                u can add it, see command for fixuppm2 here

                https://github.com/sdetweil/MagicMirror_scripts

                speed up? no idea

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                N 1 Reply Last reply Reply Quote 0
                • N Offline
                  natebrown @sdetweil
                  last edited by

                  @sdetweil 1st: Do i execute it in the MagicMirror folder and once its installed what do I do? And will it effect anything on MagicMirror?

                  S 3 Replies Last reply Reply Quote 0
                  • S Offline
                    sdetweil @natebrown
                    last edited by sdetweil

                    @natebrown the scripts don’t care, they adjust.

                    this script changes the installers/mm.sh

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @natebrown once it is installed. on next boot mm will start. if it fails pm2 will restart it. if you ctrl-q, pm2 will restart it.

                      minimize and use the pm2 command to stop, start, restart, view logs…

                      see pm2 --help

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @natebrown and turn off your sh script, else u will have two starting

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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