• 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.

Failed to load resource

Scheduled Pinned Locked Moved Bug Hunt
16 Posts 3 Posters 3.1k 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.
  • M Online
    mumblebaj Module Developer @MMRIZE
    last edited by Aug 21, 2023, 5:48 PM

    @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

    S 1 Reply Last reply Aug 21, 2023, 7:18 PM Reply Quote 0
    • S Offline
      sdetweil @mumblebaj
      last edited by Aug 21, 2023, 7:18 PM

      @mumblebaj correct. easier to not make it null

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply Aug 22, 2023, 2:49 PM Reply Quote 0
      • M Online
        mumblebaj Module Developer @sdetweil
        last edited by Aug 22, 2023, 2:49 PM

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

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

        S 1 Reply Last reply Aug 22, 2023, 2:59 PM Reply Quote 0
        • S Offline
          sdetweil @mumblebaj
          last edited by Aug 22, 2023, 2:59 PM

          @mumblebaj you shouldn’t have to do anything

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          M 2 Replies Last reply Aug 22, 2023, 3:03 PM Reply Quote 0
          • M Online
            mumblebaj Module Developer @sdetweil
            last edited by Aug 22, 2023, 3:03 PM

            @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

            M 2 Replies Last reply Aug 22, 2023, 3:21 PM Reply Quote 0
            • M Online
              mumblebaj Module Developer @sdetweil
              last edited by Aug 22, 2023, 3:08 PM

              @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

              1 Reply Last reply Reply Quote 0
              • M Offline
                MMRIZE @mumblebaj
                last edited by Aug 22, 2023, 3:21 PM

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • M Offline
                  MMRIZE @mumblebaj
                  last edited by MMRIZE Aug 22, 2023, 3:39 PM Aug 22, 2023, 3:38 PM

                  @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
                  2 / 2
                  • First post
                    13/16
                    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