MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. ninjabreadman
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    N
    Offline
    • Profile
    • Following 0
    • Followers 3
    • Topics 4
    • Posts 201
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Calendar module won't show all events

      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?

      posted in Troubleshooting
      N
      ninjabreadman
    • 1
    • 2
    • 17
    • 18
    • 19
    • 20
    • 21
    • 21 / 21