• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 4.6k 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.
  • N Offline
    natebrown @sdetweil
    last edited by Oct 17, 2020, 11:49 PM

    @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 Oct 17, 2020, 11:52 PM Reply Quote 0
    • N Offline
      natebrown @natebrown
      last edited by Oct 17, 2020, 11:52 PM

      @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 Oct 17, 2020, 11:53 PM Reply Quote 0
      • S Away
        sdetweil @natebrown
        last edited by Oct 17, 2020, 11:53 PM

        @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 Oct 18, 2020, 12:56 AM Reply Quote 0
        • N Offline
          natebrown @sdetweil
          last edited by Oct 18, 2020, 12:56 AM

          @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 Oct 18, 2020, 12:59 AM Reply Quote 0
          • S Away
            sdetweil @natebrown
            last edited by sdetweil Oct 18, 2020, 1:00 AM Oct 18, 2020, 12:59 AM

            @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 Oct 18, 2020, 1:02 AM Reply Quote 0
            • N Offline
              natebrown @sdetweil
              last edited by Oct 18, 2020, 1:02 AM

              @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 Oct 18, 2020, 1:02 AM Reply Quote 0
              • S Away
                sdetweil @natebrown
                last edited by sdetweil Oct 18, 2020, 1:03 AM Oct 18, 2020, 1:02 AM

                @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 Away
                  sdetweil @natebrown
                  last edited by Oct 18, 2020, 1:05 AM

                  @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 Away
                    sdetweil @natebrown
                    last edited by sdetweil Oct 18, 2020, 1:08 AM Oct 18, 2020, 1:07 AM

                    @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 Oct 18, 2020, 1:14 AM Reply Quote 0
                    • N Offline
                      natebrown @sdetweil
                      last edited by Oct 18, 2020, 1:14 AM

                      @sdetweil how do i turn it off? ive just statted up my pi and magicmirror hasnt started.

                      S 2 Replies Last reply Oct 18, 2020, 1:16 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        10/21
                        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