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 after Launching application.

    Scheduled Pinned Locked Moved Troubleshooting
    13 Posts 5 Posters 11.2k Views 5 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @undergroundauth
      last edited by

      @undergroundauth

      Try starting with dev tools and click console once it has started. Are you getting any errors reported there?

      pi@raspberrypi:~/MagicMirror $ npm start dev

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • U Offline
        undergroundauth
        last edited by

        application runs fine on pi@raspberrypi:~/MagicMirror $ npm start dev but again black screen nothing can be seen, i checked the logs they also shows no error, i have only used the default modules

        1 Reply Last reply Reply Quote 0
        • U Offline
          undergroundauth @romain
          last edited by

          @romain - i just did the git clone of the repository and no new addition done to any modules

          Mykle1M 1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @undergroundauth
            last edited by

            @undergroundauth said in Black Screen after Launching application.:

            i just did the git clone of the repository and no new addition done to any modules

            a git clone of the repo would only try to download the repo again. A git pull would try to update. Make sure your node is up to date and try again if it updates. I assume you did an npm install in the MagicMirror directory, as per the installation instructions.

            Did you do the automatic installation?
            The manual installation?
            Update from 2.1.0?

            Create a working config
            How to add modules

            U 1 Reply Last reply Reply Quote 0
            • U Offline
              undergroundauth @Mykle1
              last edited by

              @Mykle1 - I did the same as you said, here is the log of the dev environment it appers to be the problem with aiclient//aiclient.js

              Please help

              main.js:406 Initializing MagicMirror.
              translator.js:182 Loading core translation file: translations/en.json
              translator.js:204 Loading core translation fallback file: translations/en.json
              loader.js:182 Load script: modules/aiclient//aiclient.js
              aiclient.js Failed to load resource: the server responded with a status of 404 (Not Found)
              loader.js:190 Error on loading script: modules/aiclient//aiclient.js
              script.onerror @ loader.js:190
              loader.js:182 Load script: modules/aiclientdebugger//aiclientdebugger.js
              aiclientdebugger.js Failed to load resource: the server responded with a status of 404 (Not Found)
              loader.js:190 Error on loading script: modules/aiclientdebugger//aiclientdebugger.js
              script.onerror @ loader.js:190
              loader.js:197 Load stylesheet: css/custom.css
              main.js:424 All modules started!

              romainR 1 Reply Last reply Reply Quote 0
              • romainR Offline
                romain @undergroundauth
                last edited by

                @undergroundauth This is weird, you said you did not add module and yet, your log talk about “modules/aiclient” wich isn’t a default module . In a fresh cloned repository, your modules folder should only have a “default” folder, a “node_modules” folder and a “Readme.md” file in it.
                your error talk about a “modules/aiclient” so it’s clear that you have another folder named “aiclient” in it. And If there is an error on it, it’s also mean the magic mirror try to call it which mean you add a section on the “config/config.js” file in the magic mirror repository.
                So this module must have an error in it that messed up the display.
                do something like renaming the current config file and reset the default value on a new one.
                the following command should do the trick

                mv ~/MagicMirror/config/config.js ~/MagicMirror/config/old_config.js.save
                cp ~/MagicMirror/config.js.sample ~/MagicMirror/config.js
                

                If you didn’t mess with the config.js.sample it should reset your config.js to the default configuration.
                Try to run the magic mirror next and tell us if something appear on the mirror.

                1 Reply Last reply Reply Quote 0
                • D Offline
                  dhirajv12
                  last edited by

                  Hi,
                  Even I have the same black screen problem. I have not added any other modules. Just have renamed the config.js.sample to config.js
                  The application launches with a black screen.

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    dhirajv12 @dhirajv12
                    last edited by

                    @dhirajv12
                    In the terminal it says
                    No helper found for module: clock
                    no helper found for module: complements

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      dhirajv12
                      last edited by

                      When i start the console
                      With npm start dev following errors are found
                      Uncaught reference error: moment is not defined
                      At Class.getDom (clock.js:77)
                      At updateDom (main.js:99)
                      at Object.updateDom (main.js:470)
                      at Class.updateDom (module.js:291)
                      at clock.js:45

                      Need help I am stuck
                      Thanks

                      D 1 Reply Last reply Reply Quote 0
                      • D Offline
                        dhirajv12 @dhirajv12
                        last edited by

                        @dhirajv12
                        For the black screen proble, I even did the git pull to update
                        git pull https://github.com/MichMich/MagicMirror
                        From https://github.com/MichMich/MagicMirror

                        • branch HEAD -> FETCH_HEAD
                          Already up-to-date.

                        Now where is the issue??? Stuck please help

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