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 17.5k 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.
    • S Do not disturb
      sdetweil @BKeyport
      last edited by

      @bkeyport great!

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      C 1 Reply Last reply Reply Quote 0
      • 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 Do not disturb
          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 Do not disturb
                  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 Do not disturb
                      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 Do not disturb
                          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
                          • unfriendlydeviceU Offline
                            unfriendlydevice @sdetweil
                            last edited by

                            @sdetweil That’s great thanks

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

                              @chrizzz said in MagicMirror² v2.15.0 is available don't work.:

                              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"
                              			}
                              		},
                              

                              I checked this again with switching back to the old module and the old module works. The forcasting takes 10min (as expected) but the module itself works. I thought this might be something with the connection to the API. Any ideas?

                              1 Reply Last reply Reply Quote 0

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              • 1
                              • 2
                              • 3
                              • 1 / 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