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.

    Failed to load resource

    Scheduled Pinned Locked Moved Bug Hunt
    16 Posts 3 Posters 3.8k 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.
    • mumblebajM Offline
      mumblebaj Module Developer @MMRIZE
      last edited by

      @MMRIZE Can you help me understand the below bit of code from the core module.js.

      26dfce7d-814a-441b-9bae-43a1fd561488-image.png

      From the above, if options is undefined then callback is assigned to options and the module carries on it’s merry way. Is my understanding correct?

      Check out my modules at: https://github.com/mumblebaj?tab=repositories
      Check my blog-post: https://mumblebaj.xyz/

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

        @mumblebaj correct. easier to not make it null

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        mumblebajM 1 Reply Last reply Reply Quote 0
        • mumblebajM Offline
          mumblebaj Module Developer @sdetweil
          last edited by

          Thanks @sdetweil. I will make a change locally and test it.

          Check out my modules at: https://github.com/mumblebaj?tab=repositories
          Check my blog-post: https://mumblebaj.xyz/

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

            @mumblebaj you shouldn’t have to do anything

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            mumblebajM 2 Replies Last reply Reply Quote 0
            • mumblebajM Offline
              mumblebaj Module Developer @sdetweil
              last edited by

              @sdetweil Well, if that was true then I should not see those errors on my MM. Which is why I am not understanding why it is throwing the errors currently.

              Check out my modules at: https://github.com/mumblebaj?tab=repositories
              Check my blog-post: https://mumblebaj.xyz/

              M 2 Replies Last reply Reply Quote 0
              • mumblebajM Offline
                mumblebaj Module Developer @sdetweil
                last edited by

                @sdetweil On the other hand i agree with you completely as I don’t see the same issue on my dev machine. A bit puzzling to me. :-)

                Check out my modules at: https://github.com/mumblebaj?tab=repositories
                Check my blog-post: https://mumblebaj.xyz/

                1 Reply Last reply Reply Quote 0
                • M Offline
                  MMRIZE @mumblebaj
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    MMRIZE @mumblebaj
                    last edited by MMRIZE

                    @mumblebaj
                    As of version 2.24, Somebody added to spit this error message out when the 2nd parameter is not a callback function.

                    However, the following codes correct the missing parameter anyway, so it is unnecessary to regard it as ERROR, unless that self-correction logic is removed.
                    Even if there is a plan to drop out that correction logic, it’s still better to flag it as a “WARN” rather than an “ERROR”, I think so.

                    Anyway, the error message is just annoying, and not related to real “ERROR” . You can ignore it.

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