Read the statement by Michael Teeuw here.
Mirror goes to black after adding MMM-CalendarWeek
-
I was having a ton of issues with my Mirror, so I deleted everything and started over. In the default mode it works fine. I have the clock and the weather.
Now I have installed MMM-CalendarWeek (git cloned, npm install, etc) and the screen goes to black. npm run config:check doesn’t show any errors but it’s still not working.
{ module: "MMM-CalendarWeek", position: "lower_third", config: { calendars:[ { url: "https://calendar.google.com/calendar/ical/secretGooglecode" } ] } },Any help would be appreciated.
-
-
[08.08.2021 15:39.45.829] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'valid-url' Require stack: - /home/pi/MagicMirror/modules/MMM-CalendarWeek/node_helper.js - /home/pi/MagicMirror/js/app.js - /home/pi/MagicMirror/js/electron.js - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.jsSo I’m guessing this means the url isn’t valid, but I copied the secret .ical address right from google. What am I missing?
-
recheck your config you may mistakes" ],"
{ module: "MMM-CalendarWeek", position: "lower_third", config: { calendars:[ { url: "https://calendar.google.com/calendar/ical/secretGooglecode" } } ], }, -
@maddmurph the valid-url and request modules were removed from mm in 2.16 as request has a security issue and will not be fixed.
we’ve found quite a few modules that did not document the libraries they used, oops
so to fix near term
cd ~/MagicMirror npm install valid-urlthe module is still broken and next mm install this will fail again
-
@sdetweil
I did that and now nothing works. I get this error[08.08.2021 19:02.42.973] [ERROR] WARNING! Could not find config file. Please create one. Starting with default configuration. [08.08.2021 19:02.42.976] [LOG] Loading module helpers ... [08.08.2021 19:02.42.977] [LOG] No helper found for module: alert. [08.08.2021 19:02.42.979] [LOG] Initializing new module helper ... [08.08.2021 19:02.42.980] [LOG] Module helper loaded: updatenotification [08.08.2021 19:02.42.982] [LOG] No helper found for module: clock. [08.08.2021 19:02.42.985] [LOG] No helper found for module: weather. [08.08.2021 19:02.42.987] [LOG] All module helpers loaded. [08.08.2021 19:02.42.989] [ERROR] App threw an error during load [08.08.2021 19:02.42.992] [ERROR] Error: ENOENT: no such file or directory, open at Object.openSync (fs.js:466:3)Tried running npm install ENOENT but that’s apparently not a thing.
-
@djboob66 Weird, it’s right in the config.js on the mirror. Good catch though.
-
@maddmurph weird a dozen people have done this successfully…
also npm install request
-
In my case, in the error massage it said that also rrule-alt was missing, so I did a “npm install rrule-alt” to get it working again.
-
@zwirbel bingo. nice work.
-
@sdetweil looks like I had https set to True and that was causing an issue in addition to the other installs needed.
Thanks for your help!
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