Read the statement by Michael Teeuw here.
Calendar module won't show all events
-
The default calendar module connects to my iCloud calendars fine, but won’t show all events. I switched to
MMM-CalendarExtand it shows perfectly.
After the recent update of MagicMirror,MMM-CalendarExtwon’t display on screen at all. I just need one of them to work properly. Any ideas? -
Look into issue:
https://forum.magicmirror.builders/topic/5071/mmm-calendarext-cant-get-the-calendar-to-show
It is a problem of Electron that has been downgraded.
The default calendar module has had some issues removed in the update, maybe it is now okay for you.
-
This is what I found out.

Here’s the code at that location:
addCalendars: async function() { var self = this for (var c in this.CurrentConfigs.calendars) { self.addCalendar(self.CurrentConfigs.getCalConfig(c)) await sleep(1000) } },Could it be that the error is within the core programming of the module?
-
I’ve had the same problem since upgrading to MagicMirror 2.2.0.
It seems that Node.js is upset that MMM-CalendarExt uses an
asyncfunction atMMM-CalendarExt.js:182. From what I can tell, Node.js didn’t supportasyncuntil 7.4, and I’m (apparently) running 6.12.2 (vianode -v). However, until I upgraded MagicMirror this weekend,MMM-CalendarExtwas working fine.I just edited
run-start.sh:4to the following, and just gotMMM-CalendarExtworking again:electron --js-flags="--harmony-async-await" js/electron.js $1Can someone explain why upgrading to MagicMirror 2.2.0 would’ve rolled back the Node.js support for
async? -
Nice. Thanks for the workaround! It’s working now.
-
@ninjabreadman
Slick fix, Well done. Think this should get pushed to the master branch? Does not seem it will get in the way of other functionality/stability since we can still use the lower electron version but obviously the workaround means updates involve stashing changes and such. -
@ninjabreadman said in Calendar module won’t show all events:
I just edited run-start.sh:4 to the following, and just got MMM-CalendarExt working again:
electron --js-flags=“–harmony-async-await” js/electron.js $1It’s a great fix for this issue. Anyway, I’m almost finishing my vacation and my current business a few days. I should have to join the summit for business in mid of January in Seoul and Paris. After that, I will release fix of this issue.
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