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 async
function at MMM-CalendarExt.js:182
. From what I can tell, Node.js didn’t support async
until 7.4, and I’m (apparently) running 6.12.2 (via node -v
). However, until I upgraded MagicMirror this weekend, MMM-CalendarExt
was working fine.
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 $1
Can someone explain why upgrading to MagicMirror 2.2.0 would’ve rolled back the Node.js support for async
?