MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.25.0 is available! For more information about this release, check out this topic.

    UNSOLVED Black Screen on Startup

    Troubleshooting
    black blank screen
    3
    10
    719
    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
      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
        sdetweil @Jasaronii last edited by

        @Jasaronii guessing
        Do this

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

        Sam

        Create a working config
        How to add modules

        J 1 Reply Last reply Reply Quote 0
        • J
          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
            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
              sdetweil @Jasaronii last edited by

              @Jasaronii and restart the mirror app

              Sam

              Create a working config
              How to add modules

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

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

                Sam

                Create a working config
                How to add modules

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

                    Create a working config
                    How to add modules

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

                        Create a working config
                        How to add modules

                        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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy