Read the statement by Michael Teeuw here.
Error: valid-url not found MMM-CalendarExt(2)
-
Updated node to latest on rpi 4 and magic mirror to latest to try and fix GoogleTTS and now I am getting an error on both the CalendarExt and Ext2 modules. I removed and reinstalled them and same issue.
0|mm | [03.10.2021 18:36.30.918] [ERROR] App threw an error during load
0|mm | [03.10.2021 18:36.30.922] [ERROR]
0|mm | Error: Cannot find module ‘valid-url’
0|mm | Require stack:
0|mm | - /home/pi/MagicMirror/modules/MMM-CalendarExt/node_helper.js
0|mm | - /home/pi/MagicMirror/js/app.js
0|mm | - /home/pi/MagicMirror/js/electron.js
0|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
0|mm | -
0|mm | at Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
0|mm | at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
0|mm | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
0|mm | at Module._load (internal/modules/cjs/loader.js:732:27)
0|mm | at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
0|mm | at Module.require (internal/modules/cjs/loader.js:959:19)
0|mm | at require (internal/modules/cjs/helpers.js:88:18)
0|mm | at Object. (/home/pi/MagicMirror/modules/MMM-CalendarExt/node_helper.js:3:18)
0|mm | at Module._compile (internal/modules/cjs/loader.js:1078:30)
0|mm | at Object.Module._extensions…js (internal/modules/cjs/loader.js:1108:10)
0|mm | [03.10.2021 18:36.30.923] [ERROR] Whoops! There was an uncaught exception…
0|mm | [03.10.2021 18:36.30.932] [ERROR]
0|mm | Error: Cannot find module ‘valid-url’
0|mm | Require stack:
0|mm | - /home/pi/MagicMirror/modules/MMM-CalendarExt/node_helper.js
0|mm | - /home/pi/MagicMirror/js/app.js
0|mm | - /home/pi/MagicMirror/js/electron.js
0|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js0|mm | WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘request’
0|mm | Require stack:
0|mm | - /home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js
0|mm | - /home/pi/MagicMirror/js/app.js
0|mm | - /home/pi/MagicMirror/js/electron.js
0|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js -
@jamesarm in the module folder do
npm install valid-url --save
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login