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 on Startup

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    black blank screen
    10 Posts 3 Posters 1.5k 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.
    • J Offline
      Jasaronii
      last edited by

      Just did a reinstall of MM and it launched perfectly. Changed the location ID for the weather and included my api key and relaucnhed. Worked perfectly. Changed the news RSS to a local news RSS and it launched to a black screen. Replaced with the default news RSS and it launched again to a black screen. Changed the whole config back to the original and still launching to black.

      I am using npm start. If i go into the browser and go to http://localhost:8080/ I can see a working magic mirror.

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

        @Jasaronii guessing
        Do this

        cd ~ /MagicMirror
        git checkout modules/node_modules/node_helper/index.js
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          Jasaronii @sdetweil
          last edited by

          @sdetweil

          pi@raspberrypi:~/MagicMirror $ git checkout modules/node_modules/node_helper/index.js
          pi@raspberrypi:~/MagicMirror $ 
          

          Nothing installed if that’s what was supposed to happen. I am missing that folder and file however, when I go looking.

          N S 2 Replies Last reply Reply Quote 0
          • N Offline
            norm @Jasaronii
            last edited by

            @Jasaronii

            I had a similar issue following a reinstall on a Pi 3B, where known good module configurations simply gave a black screen (though the sample config file did initially work but then gave the same black screen after other modules were installed).

            I was also missing ‘node_helper’ folder and ‘index.js’ file as you describe.

            Manually installed the ‘node_helper’ folder and copied in the ‘index.js’ file (from the github page https://github.com/MichMich/MagicMirror/blob/master/modules/node_modules/node_helper/index.js).

            Restarted and now all good. :-)

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

              @Jasaronii and restart the mirror app

              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 @norm
                last edited by

                @norm you can get the file from the local git repo with that checkout comand

                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
                  norm @sdetweil
                  last edited by

                  @sdetweil

                  I am not very familiar with the various git commands beyond ‘clone’, but as @jasaronii said above, that git checkout command did nothing, hence manual approach.

                  But thanks for the guess - inspired and very helpful.

                  N.

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

                    @norm no. It didn’t give an error. So it did the job I said it would do.

                    Then he needs to restart the magicmirror

                    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
                      norm @sdetweil
                      last edited by

                      @sdetweil

                      Yes and no:
                      Yes - it did not give any error message.
                      No - it did not install the folder and file.

                      To recap:
                      I did a new install using the bash auto install script, but for whatever reason the node_helper sub-folder and index.js file were not installed.
                      Running the git checkout command similarly did not install the sub-folder and file (as the sub-folder and file were not originally installed, it seems logical to me that the git checkout command would not ‘reinstall’ them).
                      Installed the missing sub-folder and file manually.
                      Re-started with “pm2 restart mm”.

                      I guess the pertinent question is why the original install exercise did not include the node_helper sub-folder and index.js file???

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

                        @norm I do not know why. The file is included in the GitHub repo. It has always been installed so far

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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