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.

    MMM- EARTH not starting

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    9 Posts 4 Posters 2.4k 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.
    • C Offline
      chris1971
      last edited by chris1971

      So I tried it again… with npm start dev I got this:

      Uncaught TypeError: console.log is not a function
          at Class.scheduleCarousel (MMM-EARTH.js:155)
          at Class.socketNotificationReceived (MMM-EARTH.js:182)
          at module.js:246
          at r.<anonymous> (socketclient.js:25)
          at r.emit (index.js:83)
          at r.onevent (index.js:83)
          at r.MMSocket.self.socket.onevent (socketclient.js:19)
          at r.onpacket (index.js:83)
          at r.<anonymous> (index.js:83)
          at r.emit (index.js:83)
      

      Are you able to “encrypt”?

      Thx, Chris

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

        @chris1971

        Hmm, I am not seeing this at all. Suggestions:

        1. Use only unmodified modules
        2. Add one module at a time to the defaults to determine which module is causing the problem
        3. Add only MMM-EARTH to the default modules and see if the problem still occurs

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • C Offline
          chris1971
          last edited by

          You are right - I removed MMM GoogleTrafficMaps and the MMM Earth is working… Now I have the challenge to understand what’s happening…
          Chris

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

            @chris1971 I suspect that there is a variable naming problem between the two modules… the javascript namespace is all one big library… so, if module A uses a variable name and module B uses the SAME variable name, oops… last one in wins…

            if you move the module entries in config.js around so, whichever is last now is closer to the top does the behavior change?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • C Offline
              chris1971
              last edited by

              I changed the positions in the config.js . No change visible.

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