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.

    Can you help me about this error

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    29 Posts 4 Posters 8.2k Views 4 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.
    • ? Offline
      A Former User @Fonfon
      last edited by

      @fonfon
      One of your modules is using promise pattern but not handling rejection. Usually this is caused by missing some exception handling in module.
      I cannot figure out which module is causing that message. You can find which module has problem by disabling or removing module from config.js one-by-one.
      Maybe your suspicious module might have SOMETHING.hash in its codes. the error will be caused object SOMETHING is really null. so, when you find which module has the error, tell the module developer the symptom. (S)he will fix it.

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @Fonfon
        last edited by

        @fonfon
        And one more thing.
        Most of those UnhandledPromiseRejectionWarning does not give harm to MM’s execution, the real problem is TypeError: Cannot read property 'hash' of null. You should find which module is causing this message.

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

          @fonfon said in Can you help me about this error:

          i try to start with npm start -dev for a error log
          where is the error log in wich folder?

          Start MM with npm start dev. This opens the Developers Tools window. Click “Console” tab at the top of the window. Here you will find any errors. It does not save as a log.

          Follow Sean’s suggestion (and mine) that you determine which module is causing the issue. Then paste the errors from that module here.

          Create a working config
          How to add modules

          F 1 Reply Last reply Reply Quote 0
          • F Offline
            Fonfon @Mykle1
            last edited by

            @mykle1 When i start with npm start dev: 0_1533511909992_2018-08-06-012648_1080x1920_scrot.jpg

            Mykle1M ? 2 Replies Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @Fonfon
              last edited by

              @fonfon

              Do you get that error with just the default modules?

              Create a working config
              How to add modules

              F 1 Reply Last reply Reply Quote 0
              • F Offline
                Fonfon @Mykle1
                last edited by

                @mykle1 yes with default modules

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

                  @fonfon said in Can you help me about this error:

                  only with pir module its good
                  but after with wunderground or google maps traffic module i have a lot of error or other…

                  Above you said with pir module its good . . . .

                  So now I am confused. I think that perhaps we don’t understand each other. Run MM with ONLY the default modules. If you are having trouble that way then your problem lies with your installation of MM.

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User @Fonfon
                    last edited by A Former User

                    @fonfon
                    I think there is invalid ’timezone’ value in your config(whichever it is)
                    Have you set any value with ’Etc/gmt+1’?

                    F 1 Reply Last reply Reply Quote 0
                    • F Offline
                      Fonfon @Guest
                      last edited by

                      @sean yes in my config for clock module i have gmt +1

                      ? 2 Replies Last reply Reply Quote 0
                      • ? Offline
                        A Former User @Fonfon
                        last edited by

                        @fonfon
                        Use Etc/GMT+1 instead Etc/GMT+01.
                        But, this modifying only can fix your front-end error of Moment Timezone has no data for..., not your UnhandledPromise... error in the background-server.
                        You should remove modules one-by-one to figure out which module is causing that error.

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