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.9k 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 @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