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.

    MagicMirror² v2.15.0 is available don't work.

    Scheduled Pinned Locked Moved Troubleshooting
    44 Posts 9 Posters 13.9k Views 10 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
      ChrizZz @sdetweil
      last edited by

      I do have some strange things after the update.

      At first, the new weather module is just “loading” without displaying content. Even after 30+ minutes. Is there something wrong with the config? I saw that there is a minor issue with the data request which will cause it to load for ~10min (or to reduce the update interval).

      {
      			module: "weather",
      			position: "top_right",
      			classes: "always",
      			config: {
      				// See 'Configuration options' for more information.
      				type: "current",
      				locationID: "YYY",
      				appid: "XXX"
      			}
      		},
      

      And I have new lines of errors in the log, I don’t understand why these syntax errors appear. I checked my config file and everything looks fine. Regarding git, does this mean it couldn’t connect to github?

      [03.04.2021 23:22.22.900] [ERROR] Failed to parse data , error SyntaxError: Unexpected end of JSON input
      [03.04.2021 23:22.24.037] [ERROR] Failed to parse data , error SyntaxError: Unexpected end of JSON input
      [03.04.2021 23:22.25.987] [ERROR] Failed to fetch git data for MMM-CountEvents: Error: block timeout reached
      [03.04.2021 23:22.27.080] [ERROR] Failed to fetch git data for MMM-Parcel: Error: block timeout reached
      [03.04.2021 23:22.35.518] [ERROR] Failed to fetch git data for MMM-Face-Reco-DNN: Error: block timeout reached
      [03.04.2021 23:22.39.290] [ERROR] Failed to fetch git data for MMM-PIR-Sensor: Error: block timeout reached
      [03.04.2021 23:32.42.638] [ERROR] Failed to fetch git data for MMM-CountEvents: Error: block timeout reached
      [03.04.2021 23:37.14.466] [ERROR] Failed to parse data , error SyntaxError: Unexpected end of JSON input
      [03.04.2021 23:37.14.577] [ERROR] Failed to parse data , error SyntaxError: Unexpected end of JSON input
      [03.04.2021 23:52.14.126] [ERROR] Failed to parse data , error SyntaxError: Unexpected end of JSON input
      [03.04.2021 23:52.14.377] [ERROR] Failed to parse data , error SyntaxError: Unexpected end of JSON input
      
      S C 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @ChrizZz
        last edited by

        @chrizzz looks like a networking error… did u npm install after git pull? did both work?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        C 1 Reply Last reply Reply Quote 0
        • D Offline
          danjvd @sdetweil
          last edited by

          @sdetweil Thanks for the help, was about to make a post when I found this thread.

          1 Reply Last reply Reply Quote 0
          • C Offline
            ChrizZz @sdetweil
            last edited by

            @sdetweil yes I did and both worked.

            I did npm install in all module folders too and did the npm install of MM multiple times just to check if something is wrong

            1 Reply Last reply Reply Quote 0
            • StoffbeuteluweS Offline
              Stoffbeuteluwe Project Sponsor
              last edited by

              Hallo, i have installed the updatescript and than I have installed the valid url …the mirror starts normal and when i stop the Mirror I get this.

              nal SIGINT
              npm ERR! code ELIFECYCLE
              npm ERR! errno 1
              npm ERR! magicmirror@2.15.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
              npm ERR! Exit status 1
              npm ERR! 
              npm ERR! Failed at the magicmirror@2.15.0 start script.
              npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /Users/patrickhahn/.npm/_logs/2021-04-06T20_05_51_094Z-debug.log
              patrickhahn@Mac-mini MagicMirror % 
              
              

              hope somebody can help me …thanks

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

                @stoffbeuteluwe that’s ok when u stop

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • unfriendlydeviceU Offline
                  unfriendlydevice @sdetweil
                  last edited by

                  @sdetweil what is the full command to run this? I’ve done some searching on the forum but haven’t found anything.

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

                    @unfriendlydevice run ‘this’???

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    unfriendlydeviceU 1 Reply Last reply Reply Quote 0
                    • unfriendlydeviceU Offline
                      unfriendlydevice @sdetweil
                      last edited by unfriendlydevice

                      @sdetweil to run the electron-rebuild as you advised (sorry I think I replied to the main thread instead of your earlier reply)

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

                        @unfriendlydevice

                        cd ~/MagicMirror
                        npm install electron-rebuild
                        

                        now change to your module folder where u need the electron rebuild
                        then

                        ~/MagicMirror/node_modules/.bin/electron-rebuild
                        

                        (note the dot . in front of bin)

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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