MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Default Calendar Not Loading Events After New MM Update

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    64 Posts 8 Posters 1.4k Views 8 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Online
      angeliKITTYx @sdetweil
      last edited by

      @sdetweil

      kittypi@KITTYpi:~/MagicMirror $ cd ..
      kittypi@KITTYpi:~ $ which node
      /usr/local/node/bin/node
      ...
      kittypi@KITTYpi:/ $ cd usr
      kittypi@KITTYpi:/usr $ cd local
      kittypi@KITTYpi:/usr/local $ cd node
      kittypi@KITTYpi:/usr/local/node $ cd bin
      kittypi@KITTYpi:/usr/local/node/bin $ cd node
      bash: cd: node: Not a directory
      kittypi@KITTYpi:/usr/local/node/bin $ sudo mv node onode
      hash -r
      which node
      node —version
      /usr/local/bin/node
      node:internal/modules/cjs/loader:1386
        throw err;
        ^
      
      Error: Cannot find module '/usr/local/node/bin/—version'
          at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15)
          at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)
          at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)
          at Function._load (node:internal/modules/cjs/loader:1192:37)
          at TracingChannel.traceSync (node:diagnostics_channel:328:14)
          at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
          at node:internal/main/run_main_module:36:49 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
      }
      
      Node.js v22.21.1
      kittypi@KITTYpi:/usr/local/node/bin $ 
      
      
      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @angeliKITTYx
        last edited by

        @angeliKITTYx i hate this editor on my phone changing the characters

        do

        node --version
        

        it should report 22.21.1
        then

        cd ~/MagicMirror
        npm run install-mm
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        A 1 Reply Last reply Reply Quote 0
        • A Online
          angeliKITTYx @sdetweil
          last edited by

          @sdetweil
          it’s booting now! hurray! however, now I’m getting the package lock error when i try to complete the calendarext3 update and none of my events are populating. I have a thread up on someone else’s trouble shooting but I’m out of time this morning. I be back at it this afternoon. thank you again for all your help.

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @angeliKITTYx
            last edited by

            @angeliKITTYx awesome. Thanks for the feedback

            package-lock? Erase that file then do the update

            There is a known bug affecting modules that have functions in their config like ext3. We are discussing ways to distribute these fixes.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @sdetweil
              last edited by

              Did you get the npm run install-mm done after verifying node version was correct?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              A 1 Reply Last reply Reply Quote 0
              • A Online
                angeliKITTYx @sdetweil
                last edited by

                @sdetweil
                yes I did the npm run install-mm successfully.

                i got it updated, but now it’s angry again

                [2026-04-29 18:51:43.521] [ERROR] [calendar] Could not expand event "WD CNU": ical.expandRecurringEvent is not a function
                [2026-04-29 18:51:43.522] [ERROR] [calendar] Could not expand event "Ortho": ical.expandRecurringEvent is not a function
                [2026-04-29 18:51:43.522] [ERROR] [calendar] Could not expand event "WD CNU": ical.expandRecurringEvent is not a function
                [2026-04-29 18:51:43.523] [ERROR] [calendar] Could not expand event "HVAC DUCTING FIX": ical.expandRecurringEvent is not a function
                [2026-04-29 18:51:43.524] [ERROR] [calendar] Could not expand event "Injection appt time TBD": ical.expandRecurringEvent is not a function
                [2026-04-29 18:51:43.524] [ERROR] [calendar] Could not expand event "Env. Regulations": ical.expandRecurringEvent is not a function
                [2026-04-29 18:51:43.525] [ERROR] [calendar] Could not expand event "Z4 training": ical.expandRecurringEvent is not a function
                [2026-04-29 18:51:43.526] [ERROR] [calendar] Could not expand event "Jury Duty ": ical.expandRecurringEvent is not a function
                [2026-04-29 18:51:43.527] [ERROR] [calendar] Could not expand event "MATH 260: Linear Algebra ": ical.expandRecurringEvent is not a function
                [2026-04-29 18:51:43.527] [INFO]  [calendar] Broadcasting 0 events from https://calendar.google.com/calendar/ical/axxxxx/basic.ics.
                [2026-04-29 18:52:09.449] [LOG]   [electron] Shutting down server...
                [2026-04-29 18:52:09.452] [LOG]   [node_helper] Stopping module helper: updatenotification
                [2026-04-29 18:52:09.462] [LOG]   [node_helper] Stopping module helper: calendar
                [2026-04-29 18:52:09.464] [LOG]   [node_helper] Stopping module helper: MMM-CalendarExt3
                [2026-04-29 18:52:09.469] [LOG]   [node_helper] Stopping module helper: MMM-Jokes
                [2026-04-29 18:52:09.470] [LOG]   [node_helper] Stopping module helper: weather
                [2026-04-29 18:52:09.473] [LOG]   [node_helper] Stopping module helper: MMM-Todoist2
                [2026-04-29 18:52:09.478] [LOG]   [app] Node_helpers stopped ...
                kittypi@KITTYpi:~/MagicMirror $ node --version
                v22.21.1
                kittypi@KITTYpi:~/MagicMirror $ 
                
                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @angeliKITTYx
                  last edited by

                  @angeliKITTYx looks like you didn’t do that in the MagicMirror folder

                  cd ~/MagicMirror
                  npm run install-mm 
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  A 1 Reply Last reply Reply Quote 0
                  • A Online
                    angeliKITTYx @sdetweil
                    last edited by

                    @sdetweil

                    I did it originally in the MM folder, but I ran it again and still getting the same errors

                    I did catch this before the entire terminal filled up with “: ical.expandRecurringEvent is not a function”

                    [2026-04-29 19:59:54.445] [LOG]   [server] Starting server on port 8080 ... 
                    [2026-04-29 19:59:54.499] [ERROR] [unknown] (node:58997) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                    (Use `electron --trace-deprecation ...` to show where the warning was created)
                    [2026-04-29 19:59:54.855] [LOG]   [app] Server started ...
                    [2026-04-29 19:59:54.858] [LOG]   [node_helper] Connecting so```
                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @angeliKITTYx
                      last edited by

                      @angeliKITTYx that means the install-mm did not work

                      Please do again and show the output

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      A 1 Reply Last reply Reply Quote 0
                      • A Online
                        angeliKITTYx @sdetweil
                        last edited by

                        @sdetweil

                        kittypi@KITTYpi:~ $ cd ~/MagicMirror
                        npm run install-mm 
                        
                        > magicmirror@2.35.0 install-mm
                        > npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev
                        
                        
                        > magicmirror@2.35.0 postinstall
                        > git clean -df fonts vendor modules/default
                        
                        
                        > magicmirror@2.35.0 prepare
                        > [ -f node_modules/.bin/husky ] && husky || echo no husky installed.
                        
                        no husky installed.
                        
                        up to date in 3s
                        kittypi@KITTYpi:~/MagicMirror $ 
                        
                        
                        S 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @angeliKITTYx
                          last edited by

                          @angeliKITTYx ok then, one more time

                          cd ~/MagicMirror 
                          rm package-lock.json
                          rm -rf node_modules
                          npm run install-mm 
                          

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          A 1 Reply Last reply Reply Quote 0
                          • A Online
                            angeliKITTYx @sdetweil
                            last edited by

                            @sdetweil

                            kittypi@KITTYpi:~ $ cd ~/MagicMirror 
                            rm package-lock.json
                            rm -rf node_modules
                            npm run install-mm 
                            rm: cannot remove 'package-lock.json': No such file or directory
                            
                            > magicmirror@2.35.0 install-mm
                            > npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev
                            
                            
                            > magicmirror@2.35.0 postinstall
                            > git clean -df fonts vendor modules/default
                            
                            
                            > magicmirror@2.35.0 prepare
                            > [ -f node_modules/.bin/husky ] && husky || echo no husky installed.
                            
                            no husky installed.
                            
                            added 389 packages in 6m
                            kittypi@KITTYpi:~/MagicMirror $ 
                            
                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @angeliKITTYx
                              last edited by

                              @angeliKITTYx ok, now start MagicMirror

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              A 1 Reply Last reply Reply Quote 0
                              • A Online
                                angeliKITTYx @sdetweil
                                last edited by

                                @sdetweil
                                it’s booted again and no update notifs (:

                                …but none of my calendar events are populating. this morning, it took about 20m and they eventually showed up. I’ve had it open for about 10m already and don’t see anything. I’ll keep an eye on it.
                                update - I backed out and saw that I got all of these errors still…

                                ssignment -July 4th [TC295.CST.100.O01N.SU24.7W1]": ical.expandRecurringEvent is not a function
                                [2026-04-29 21:45:07.831] [ERROR] [calendar] Could not expand event "Introductory Speech Written Submission [TC295.CST.100.O01N.SU24.7W1]": ical.expandRecurringEvent is not a function
                                [2026-04-29 21:45:07.832] [ERROR] [calendar] Could not expand event "PHI 100 Quiz 4": ical.expandRecurringEvent is not a function
                                [2026-04-29 21:45:07.833] [ERROR] [calendar] Could not expand event "Persuasive Ad Analysis  [TC295.CST.100.O01N.SU24.7W1]": ical.expandRecurringEvent is not a function
                                [2026-04-29 21:45:07.834] [ERROR] [calendar] Could not expand event "Discussion 1  [TC295.CST.100.O01N.SU24.7W1]": ical.expandRecurringEvent is not a function
                                [2026-04-29 21:45:07.834] [ERROR] [calendar] Could not expand event "Final Discussion  [TC295.CST.100.O01N.SU24.7W1]": ical.expandRecurringEvent is not a function
                                [2026-04-29 21:45:07.835] [ERROR] [calendar] Could not expand event "Introductory Speech Video (Recorded Audio and Video)  [TC295.CST.100.O01N.SU24.7W1]": ical.expandRecurringEvent is not a function
                                [2026-04-29 21:45:07.836] [ERROR] [calendar] Could not expand event "Submit Persuasive Speech [TC295.CST.100.O01N.SU24.7W1]": ical.expandRecurringEvent is not a function
                                [2026-04-29 21:45:07.837] [ERROR] [calendar] Could not expand event "PHI 100 QUIZ 2": ical.expandRecurringEvent is not a function
                                [2026-04-29 21:45:07.838] [ERROR] [calendar] Could not expand event "Homework [TC295.CST.100.O01N.SU24.7W1]": ical.expandRecurringEvent is not a function
                                [2026-04-29 21:45:07.839] [ERROR] [calendar] Could not expand event "My Listening Skills [TC295.CST.100.O01N.SU24.7W1]": ical.expandRecurringEvent is not a function
                                [2026-04-29 21:45:07.840] [ERROR] [calendar] Could not expand event "PHI 100 Discussion": ical.expandRecurringEvent is not a function
                                [2026-04-29 21:45:07.841] [INFO]  [calendar] Broadcasting 0 events from https://calendar.google.com/calendar/ical/2adcc5394a749909a5fbe4e93d3673b2e0ff6fd91551d1977ecc7dfb84dde87a%40group.calendar.google.com/private-b562d8f04caac264bc19d634d4bfcee0/basic.ics.
                                [2026-04-29 21:45:09.852] [LOG]   [electron] Shutting down server...
                                [2026-04-29 21:45:09.853] [LOG]   [node_helper] Stopping module helper: updatenotification
                                [2026-04-29 21:45:09.854] [LOG]   [node_helper] Stopping module helper: calendar
                                [2026-04-29 21:45:09.854] [LOG]   [node_helper] Stopping module helper: MMM-CalendarExt3
                                [2026-04-29 21:45:09.855] [LOG]   [node_helper] Stopping module helper: MMM-Jokes
                                [2026-04-29 21:45:09.855] [LOG]   [node_helper] Stopping module helper: weather
                                [2026-04-29 21:45:09.855] [LOG]   [node_helper] Stopping module helper: MMM-Todoist2
                                [2026-04-29 21:45:09.856] [LOG]   [app] Node_helpers stopped ...
                                kittypi@KITTYpi:~/MagicMirror $ 
                                
                                S 1 Reply Last reply Reply Quote 0
                                • S Do not disturb
                                  sdetweil @angeliKITTYx
                                  last edited by

                                  @angeliKITTYx thanks

                                  @kristjanesperanto what do you think of this?
                                  We’ve made sure to erase node_modules and start fresh

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  1 Reply Last reply Reply Quote 0

                                  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
                                  • 1
                                  • 2
                                  • 3
                                  • 4
                                  • 2 / 4
                                  • First post
                                    Last post
                                  Enjoying MagicMirror? Please consider a donation!
                                  MagicMirror created by Michael Teeuw.
                                  Forum managed by Sam, technical setup by Karsten.
                                  This forum is using NodeBB as its core | Contributors
                                  Contact | Privacy Policy