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.

    Email-Mirror

    Scheduled Pinned Locked Moved Solved Troubleshooting
    8 Posts 2 Posters 1.8k Views 2 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.
    • A Offline
      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 Offline
        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 Do not disturb
          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

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • A Offline
            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 Do not disturb
              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

              How to add modules

              learning how to use browser developers window for css changes

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

                Seems to work. What was/is the issue?

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

                  @andyyy developer coded it wrong.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  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