• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MMM-SoccerLiveScore

Scheduled Pinned Locked Moved Sport
187 Posts 37 Posters 204.8k Views 35 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.
  • N Offline
    np27np27
    last edited by np27np27 Dec 6, 2021, 10:25 PM Dec 6, 2021, 10:23 PM

    @0m4r
    OK tried again, this time I received the following after npm ci

    npm WARN prepare removing existing node_modules/ before installation
    npm ERR! cipm can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with npm install before continuing.
    npm ERR!
    npm ERR!
    npm ERR! Invalid: lock file’s node-fetch@2.6.6 does not satisfy node-fetch@v2.6.1
    npm ERR!

    npm ERR! A complete log of this run can be found in:
    npm ERR! /home/pi/.npm/_logs/2021-12-06T22_20_06_917Z-debug
    .log

    N 1 Reply Last reply Dec 6, 2021, 10:31 PM Reply Quote 0
    • N Offline
      np27np27 @np27np27
      last edited by Dec 6, 2021, 10:31 PM

      @np27np27 said in MMM-SoccerLiveScore:

      @0m4r
      OK tried again, this time I received the following after npm ci

      npm WARN prepare removing existing node_modules/ before installation
      npm ERR! cipm can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with npm install before continuing.
      npm ERR!
      npm ERR!
      npm ERR! Invalid: lock file’s node-fetch@2.6.6 does not satisfy node-fetch@v2.6.1
      npm ERR!

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/pi/.npm/_logs/2021-12-06T22_20_06_917Z-debug
      .log

      I did npm install then npm Ci and it seems no errors this time. Let’s see if it works now. I’ll let you know 👍🏾

      N 1 Reply Last reply Dec 7, 2021, 9:13 AM Reply Quote 0
      • N Offline
        np27np27 @np27np27
        last edited by Dec 7, 2021, 9:13 AM

        @0m4r,

        Looks like it’s still not working. It’s gone past the api call date that is displayed at the bottom of the module and it’s not updated. Does it work for you?

        0 1 Reply Last reply Dec 7, 2021, 3:03 PM Reply Quote 0
        • 0 Offline
          0m4r Module Developer @np27np27
          last edited by Dec 7, 2021, 3:03 PM

          @np27np27 can you try pulling the code once more? I did mess up the logic to re-issue the API requests, but I hopefully fixed it now!

          https://github.com/0m4r

          N 1 Reply Last reply Dec 7, 2021, 3:05 PM Reply Quote 0
          • N Offline
            np27np27 @0m4r
            last edited by Dec 7, 2021, 3:05 PM

            @0m4r
            Yes will try later today. Thanks for your continued effort 👍🏾

            0 1 Reply Last reply Dec 7, 2021, 5:23 PM Reply Quote 1
            • 0 Offline
              0m4r Module Developer @np27np27
              last edited by Dec 7, 2021, 5:23 PM

              @np27np27 there are probably still some issue, but it seems to me it now updates correctly :)

              https://github.com/0m4r

              N 1 Reply Last reply Dec 13, 2021, 9:04 AM Reply Quote 0
              • N Offline
                np27np27 @0m4r
                last edited by Dec 13, 2021, 9:04 AM

                @0m4r
                No I don’t think it’s updating for me.
                Maybe I need to delete the whole module and start again. I did get a few errors during the update to your new changes.
                Can I reinstall from the main branch or do I reinstall and then update again how you mentioned above?

                1 Reply Last reply Reply Quote 0
                • 0 Offline
                  0m4r Module Developer
                  last edited by 0m4r Dec 13, 2021, 9:24 AM Dec 13, 2021, 9:20 AM

                  @np27np27 I am sorry to hear that :(
                  you should try again from the feature/node-fetch .

                  if you see any errors, would you please cut&paste them in here so I can have a look at them?

                  would you also mind showing me your config for the module?

                  https://github.com/0m4r

                  N 1 Reply Last reply Dec 14, 2021, 1:23 PM Reply Quote 0
                  • N Offline
                    np27np27 @0m4r
                    last edited by Dec 14, 2021, 1:23 PM

                    @0m4r
                    Ok ive reinstalled and successfully updated to the feature/fetch-node branch. I think it all installed error free this time!!

                    Lets see how things look later today after during the premier league games. I’ll let you know how it goes.

                    My config for the module:

                    	{
                    		disabled: false,
                    		module: 'MMM-SoccerLiveScore',
                    		position: 'top_right',
                    		header: 'Live-Scores',
                    		config: {
                    			leagues: [17],
                      			showNames: true,
                     			showLogos: true,
                     			displayTime: 20 * 1000,
                      			showStandings: true,
                      			showTables: true,
                      			showScorers: false,
                    		}
                    	},
                    
                    1 Reply Last reply Reply Quote 0
                    • 0 Offline
                      0m4r Module Developer
                      last edited by 0m4r Dec 14, 2021, 1:35 PM Dec 14, 2021, 1:33 PM

                      @np27np27

                      65345670-e11e-422e-98f2-536d1a99a962-image.png

                      and can you see something like this in the logs:
                      MMM-SoccerLiveScore next request for league "Premier League (17)" on Tue Dec 14 2021 14:34:37 GMT+0100 (Central European Standard Time) for Round 17

                      https://github.com/0m4r

                      N 1 Reply Last reply Dec 14, 2021, 1:53 PM Reply Quote 0
                      • 1
                      • 2
                      • 13
                      • 14
                      • 15
                      • 16
                      • 17
                      • 18
                      • 19
                      • 15 / 19
                      15 / 19
                      • First post
                        150/187
                        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