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 7.1k 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 @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 Do not disturb
        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 Do not disturb
            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 Do not disturb
                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 Do not disturb
                  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 Do not disturb
                    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
                    • N Offline
                      natebrown @sdetweil
                      last edited by

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

                      S 2 Replies Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @natebrown
                        last edited by

                        @natebrown pm2 stop 0
                        pm2 delete 0
                        pm2 save

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @natebrown
                          last edited by

                          @natebrown pm2 logs --lines=50

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

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

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

                            pm2 stop 0
                            pm2 delete 0
                            pm2 save

                            oh ok thanks. im also still getting the splashscreen on boot

                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @natebrown
                              last edited by sdetweil

                              @natebrown there is a step during scripted install to add the mm splash screen.

                              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 oh.now ive installed your scripts but now the autostart is not working, I’ve deleted all the pm2 things and it is still not working.

                                S 1 Reply Last reply Reply Quote 0
                                • S Do not disturb
                                  sdetweil @natebrown
                                  last edited by

                                  @natebrown u don’t install my scripts. u use the scripts to do the different tasks

                                  each command is a cut and paste to execute.

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  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