Im having problem starting my config.js since i added the module MMM-CalendarExt to my Raspberry Pi 3 MM.
(I have installed everything recently so all packages are the latest, it runs fine without MMM-CalendarExt part in the config.)
These are the errors i get.
What can i do to fix this?
[2024-11-24 11:18:27.405] [LOG] Loading module helpers …
[2024-11-24 11:18:28.801] [ERROR] (node:12995) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘valid-url’
Require stack:
- /home/mt/MagicMirror/modules/MMM-CalendarExt/node_helper.js
- /home/mt/MagicMirror/js/app.js
- /home/mt/MagicMirror/js/electron.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15)
at s._resolveFilename (node:electron/js2c/browser_init:2:121498)
at Module._resolveFilename (/home/mt/MagicMirror/node_modules/module-alias/index.js:49:29)
at Module._load (node:internal/modules/cjs/loader:1058:27)
at c._load (node:electron/js2c/node_init:2:17025)
at Module.require (node:internal/modules/cjs/loader:1318:19)
at require (node:internal/modules/helpers:179:18)
at Object. (/home/mt/MagicMirror/modules/MMM-CalendarExt/node_helper.js:3:18)
at Module._compile (node:internal/modules/cjs/loader:1484:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1564:10)
at Module.load (node:internal/modules/cjs/loader:1295:32)
at Module._load (node:internal/modules/cjs/loader:1111:12)
at c._load (node:electron/js2c/node_init:2:17025)
at Module.require (node:internal/modules/cjs/loader:1318:19)
at require (node:internal/modules/helpers:179:18)
at loadModule (/home/mt/MagicMirror/js/app.js:200:19)
(Use electron --trace-warnings ...
to show where the warning was created)
[2024-11-24 11:18:28.808] [ERROR] (node:12995) 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: 2)