Read the statement by Michael Teeuw here.
OpenWeatherForcast - AggregateError?
-
@sdetweil Thanks for all your help - here is what I have -
0|MagicMir | [2025-05-06 10:28:53.242] [INFO] System information: 0|MagicMir | ### SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 4 Model B Rev 1.5; virtual: false 0|MagicMir | ### OS: platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.12.25+rpt-rpi-v8 0|MagicMir | ### VERSIONS: electron: 35.2.2; used node: 22.14.0; installed node: 22.14.0; npm: 10.9.2; pm2: 5.4.3 0|MagicMir | ### OTHER: timeZone: America/Chicago; ELECTRON_ENABLE_GPU: undefined
-
@cricket @wishmaster270 will have to reply
(I know he has been busy, so may take some time)can you post your module config,
xxx out the apikeyand I can try it
-
@sdetweil Copy that - I have also tried the API web call on the pi browser - it works fine. I tried a couple of options.
Are you asking me to post the entire conifg.js?
Thanks.
-
@cricket no, only for this module…
I can recreate here with my apikey and location and see the working direct url
did take quite a while…we have the fetch timeout set to 30 seconds, so that shouldn’t be it
-
@sdetweil
I am going to reinstall the module as well to see if that works. Update: No change - still loading.{ module: "MMM-OpenWeatherForecast", position: "top_right", header: "Forecast", config: { apikey: "mykey", //only string here latitude: 43.030099, //number works here longitude: -89.449056 //so does a string } },
-
@cricket the ‘Loading’ error means the front end (displaying data) is waiting for the data to arrive from the backend (node_helper.js)
almost NO module reports and handles critical failures like this.
so we asked for data, and nothing… still wating…I upgraded nodejs, electron and still fails in same place.
-
I follow some of what you have said. Thanks for your help. Hopefully it is something that can be corrected.
-
@sdetweil said in OpenWeatherForcast - AggregateError?:
almost NO module reports and handles critical failures like this.
so we asked for data, and nothing… still wating…I upgraded nodejs, electron and still fails in same place.
Does this mean you are having the same issue I am?
-
@cricket yes, I said I could recreate your problem.
https://forum.magicmirror.builders/post/126268 -
@sdetweil Not sure what happened, but it just started working for me… Now on to some configuration. Many thanks for all your help.