Dear all,
is anybody still using this module? After installing on a blank MagicMirror installation (Pi4, installation script from SDetweil, nothing else) it comes up with error:
[ERROR] (node:45285) UnhandledPromiseRejectionWarning: Error [ERR_REQUIRE_ESM]: require() of ES Module /home/nico/node_modules/node-fetch/src/index.js from /home/nico/MagicMirror/modules/MMM-NHL/node_helper.js not supported. Instead change the require of index.js in /home/nico/MagicMirror/modules/MMM-NHL/node_helper.js to a dynamic import() which is available in all CommonJS modules. at c._load (node:electron/js2c/node_init:2:13672) at Object.<anonymous> (/home/nico/MagicMirror/modules/MMM-NHL/node_helper.js:16:15) at c._load (node:electron/js2c/node_init:2:13672) at loadModule (/home/nico/MagicMirror/js/app.js:183:19) at loadModules (/home/nico/MagicMirror/js/app.js:213:10) at async App.start (/home/nico/MagicMirror/js/app.js:261:3) (Use `electron --trace-warnings ...` to show where the warning was created) [2024-06-01 11:13:55.699] [ERROR] (node:45285) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)It’s a nice little module with great benefits for NHL fans, Since it’s been a while, that fewieden has developed it, it might be out of date. It’s a pity to see that it no longer works.
Any ideas to bring it back to life?