MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    SOLVED Email-Mirror

    Troubleshooting
    2
    8
    881
    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.
    • A
      andyyy last edited by

      Hey,

      I am just setting up my MM at the first time. The email addon has been working for a while.
      Since today the addon just reports “loading”. It does not matter which email account I use, the loading banner stays there forever. Any ideas?

      Regards

      1 Reply Last reply Reply Quote 0
      • A
        andyyy last edited by

        Now i reinstalled the email module and the MM stays black, until I remove the module from the config.js at all.

        1 Reply Last reply Reply Quote 0
        • A
          andyyy last edited by

          I reverted to a backup of my MM.
          I figured the out the following. The email module works as expected until I install the MMM-GoogleMapsTraffic. In case both the email and the GoogleMaps module are configured in the config.js the email module seems to stop working or hang at “loading”.

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

            @andyyy open the developers console (using keyboard its ctrl-shift-i) (or npm start dev)…
            select the tab labeled console in that window, and then scroll up to find any errors (usually red text)

            the ‘loading’ is hard coded text the module displays until the api returns data and the info is updated…
            so the api didn’t work
            which should show in the console view

            Sam

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • A
              andyyy last edited by

              Does this help? It was printed out in red:

              Uncaught TypeError: console.log is not a function
              at Class.socketNotificationReceived (:8080/modules/email//email.js:34)
              at module.js:246
              at r. (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. (index.js:83)
              at r.emit (index.js:83)
              at r.ondecoded (index.js:83)

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

                @andyyy said in Email-Mirror:

                /email.js:34

                yes,

                edit the email.js file in modules/email

                and change line 34 from console.log(…), to Log.log(…)

                then restart MagicMirror

                Sam

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • A
                  andyyy last edited by

                  Seems to work. What was/is the issue?

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

                    @andyyy developer coded it wrong.

                    Sam

                    Create a working config
                    How to add modules

                    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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy