• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 10.3k 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.
  • U Offline
    undergroundauth @Mykle1
    last edited by Apr 14, 2017, 7:11 PM

    @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!

    R 1 Reply Last reply Apr 18, 2017, 7:36 AM Reply Quote 0
    • R Offline
      romain @undergroundauth
      last edited by Apr 18, 2017, 7:36 AM

      @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 May 30, 2017, 1:47 AM

        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 May 30, 2017, 1:51 AM Reply Quote 0
        • D Offline
          dhirajv12 @dhirajv12
          last edited by May 30, 2017, 1:51 AM

          @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 May 30, 2017, 2:23 AM

            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 May 30, 2017, 2:32 AM Reply Quote 0
            • D Offline
              dhirajv12 @dhirajv12
              last edited by May 30, 2017, 2:32 AM

              @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

              B 1 Reply Last reply Jun 1, 2017, 1:50 AM Reply Quote 0
              • B Offline
                bhepler Module Developer @dhirajv12
                last edited by Jun 1, 2017, 1:50 AM

                @dhirajv12 Let’s double-check some things. Please enter the following.

                cd ~/MagicMirror
                rm -rf modules/aiclient
                git pull
                npm install
                cp config/config.js.sample config/config.js
                npm start
                

                With luck, that should at the very least get you a basic interface with the calendar, clock, compliments and newsfeed.

                @dhirajv12 said in Black Screen after Launching application.:

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

                This is normal. The system is checking for a node_helper.js file for every module. Those modules do not have one, so it is reported as such during the startup process.

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