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.

    Default weather module not showing after MM update

    Scheduled Pinned Locked Moved Solved Troubleshooting
    25 Posts 7 Posters 7.4k Views 7 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.
    • Jarhead96097J Offline
      Jarhead96097 @mumblebaj
      last edited by

      @mumblebaj Well, unfortunately, removing the quotes around locationID did not resolve the issue on my configuration. I still receive “Uncaught SyntaxError: Unexpected token” in weather.js:159.

      Jarhead96097

      1 Reply Last reply Reply Quote 0
      • 0 Offline
        01ZerosOnes01
        last edited by

        Raspberry Pi 4 2GB
        Well this is what i have done so far.
        Removed SD card with broken default weather module.
        With new SD card installed fresh 64bit Pi OS
        Fresh manual install of MagicMirror
        “name”: “magicmirror”,
        “version”: “2.20.0”,
        “description”: “The open source modular smart mirror platform.”,
        “main”: “js/electron.js”,

        Entered my openweathermap credentials
        and
        Walla! the weather module works.
        I have no idea why the weather module broke after the MagicMirror update. I will be following this thread to see if it is a problem or it was just a fluke.
        Good luck and thanks to all that contribute.
        Now I just have to reload my third party modules and customizations.

        Jarhead96097J 1 Reply Last reply Reply Quote 0
        • Jarhead96097J Offline
          Jarhead96097 @01ZerosOnes01
          last edited by

          @01ZerosOnes01 @sdetweil Glad to hear you’re up and running on a fresh install… I’m hoping to avoid having to rebuild mine. Any other thoughts?

          And thanks for your time in advance!

          Jarhead96097

          S 0 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @Jarhead96097
            last edited by

            @Jarhead96097 would be interested in knowing if my upgrade script avoided this problem

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            FoziF 1 Reply Last reply Reply Quote 1
            • B Offline
              Bearded1ne253 @01ZerosOnes01
              last edited by

              @01ZerosOnes01 you do not have a “ to start your string, only one at the end…

              1 Reply Last reply Reply Quote 0
              • 0 Offline
                01ZerosOnes01 @Jarhead96097
                last edited by

                @Jarhead96097 I was lucky I had a backup of my config. So just a reinstall and copy and paste. Everything is working fine now.
                All the best.

                1 Reply Last reply Reply Quote 1
                • FoziF Offline
                  Fozi Project Sponsor @sdetweil
                  last edited by

                  @sdetweil I updated with your script and had no issues at all. Everything is fine.

                  HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

                  1 Reply Last reply Reply Quote 1
                  • T Offline
                    Trabi11 @01ZerosOnes01
                    last edited by

                    @01ZerosOnes01 said in Default weather module not showing after MM update:

                    @mumblebaj Okay this is what I get when I run shift + ctrl + i

                    Load script: modules/default/weather/weather.js
                    :8080/modules/default/weather/weather.js:159 Uncaught SyntaxError: Unexpected token .

                    I’m running into the exact same issue as explained above since I updated my MM.

                    However, I only get this error message in chromium on the rasperry pi itself when I call the URL of the MM. All other devices in my network can display the Weather Module cleanly when I access the page via LAN IP. Both chromium and firefox on my notebook and my smartphone are displaying the default weather module cleanly.

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