Read the statement by Michael Teeuw here.
MMM-SoccerLiveScore
-
@np27np27 alright - I will try to fix it, but it may take some time, I usually dedicate time to my side project on the weekend
-
@0m4r
No problem, thanks for trying and keeping this module going 👍🏾👍🏾 -
@np27np27 can you try check out and run this branch:
https://github.com/0m4r/MMM-SoccerLiveScore/tree/feature/node-fetch> cd [YOUR_PATH_TO_MMM-SoccerLiveScore] > git fetch -p > git checkout feature/node-fetch > git pull -r > npm ci > [RESTART MM]
I did do some major changes (removed request for node-fetch, and some other code improvements amongst which I hope to have fixed the problem of the refresh you reported)
-
@0m4r said in MMM-SoccerLiveScore:
@np27np27 can you try check out and run this branch:
https://github.com/0m4r/MMM-SoccerLiveScore/tree/feature/node-fetch> cd [YOUR_PATH_TO_MMM-SoccerLiveScore] > git fetch -p > git checkout node-fetch > git pull -r > npm ci > [RESTART MM]
I did do some major changes (removed request for node-fetch, and some other code improvements amongst which I hope to have fixed the problem of the refresh you reported)
Hi @0m4r ,
Ive tried the above but got an error at the checkout node-fetch line. Can’t find the file or something similar?
Still continued on and did the rest.
The mm restart has updated the module data. I will check when a game plays tonight to see if the live data changes. -
This post is deleted! -
@np27np27 said in MMM-SoccerLiveScore:
git checkout node-fetch
should be:
git checkout feature/node-fetch
-
@0m4r
OK tried again, this time I received the following after npm cinpm 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 withnpm 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 -
@np27np27 said in MMM-SoccerLiveScore:
@0m4r
OK tried again, this time I received the following after npm cinpm 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 withnpm 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
.logI 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 👍🏾
-
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?
-
@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!