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.

    iCal parsing failed: Cannot find package 'ics-filter

    Scheduled Pinned Locked Moved Solved Requests
    6 Posts 2 Posters 39 Views 2 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.
    • B Offline
      Beginner_123
      last edited by

      Hi!
      i’m new to this and am having truble whenever I try to display my calendar, I get the message “iCal parsing failed: Cannot find package 'ics-filter” . It doesn’t matter which URL i use, I get the same message. I’m not really sure what the error message means, I woud appreciate any help. I have the latest update for magicmirror2.

      Here is the code I’m using for the calender:

      	{
      		module: "calendar",
      		header: "Kalender",
      		position: "top_left",
      		config: {
      			calendars: [
      				{
      					symbol: "calendar-alt",
      					url: "https://calendar.google.com/calendar/ical/sv.swedish%23holiday%40group.v.calendar.google.com/public/basic.ics"
      				}
      			],
      			maximumEntries: 3,
      			//showLocation: false
      		}
      	},
      

      Here is the error message I get when I run the Code:

      [2026-08-30 17:55:26.613] [ERROR] [calendar] https://calendar.google.com/calendar/ical/sv.swedish%23holiday%40group.v.calendar.google.com/public/basic.ics - iCal parsing failed: Cannot find package ‘ics-filter’ imported from /home/pi-mirorr/MagicMirror/defaultmodules/calendar/calendarfetcherutils.js
      [2026-08-30 17:55:26.614] [ERROR] [calendar] Calendar Error. Could not fetch calendar: https://calendar.google.com/calendar/ical/sv.swedish%23holiday%40group.v.calendar.google.com/public/basic.ics iCal parsing failed: Cannot find package ‘ics-filter’ imported from /home/pi-mirorr/MagicMirror/defaultmodules/calendar/calendarfetcherutils.js

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Beginner_123
        last edited by

        @Beginner_123 this sounds like you updated,
        but the npm run install-mm failed…

        this typically happens because the version of nodejs was not updated during the upgrade

        you can verify this by doin

        cd ~/MagicMirror
        npm run install-mm
        

        please confirm it outputs a message like (here I installed node 16)

        npm ERR! code EBADENGINE
        npm ERR! engine Unsupported engine
        npm ERR! engine Not compatible with your version of node/npm: magicmirror@2.37.0
        npm ERR! notsup Not compatible with your version of node/npm: magicmirror@2.37.0
        npm ERR! notsup Required: {"node":">=22.21.1 <23 || >=24"}
        npm ERR! notsup Actual:   {"npm":"8.19.4","node":"v16.20.2"}
        

        to fix the easiest way, run my upgrade script
        from here
        https://github.com/sdetweil/MagicMirror_scripts

        and use the upgrade copy/paste with apply at the end of the command,
        change the word apply to force

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          Beginner_123 @sdetweil
          last edited by

          @sdetweil
          I did as you said and it seems to have worked but when I try to start the program I see this message
          npm start run
          bash: /home/pi-mirorr/.nvm/versions/node/v22.21.1/bin/npm: File or directory does not exist
          I realize that there is something missing but what, what should I do now.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Beginner_123
            last edited by

            @Beginner_123 can you run

            hash -r
            

            and then

            which node
            

            then

            node -v
            

            for this release its node 22.22.2

            nvm changes the actual path for its installed node version,
            so you may have to open another terminal window

            keyboard shortcut

            ctrl-alt-t
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            B 1 Reply Last reply Reply Quote 0
            • B Offline
              Beginner_123 @sdetweil
              last edited by

              @sdetweil
              Thank you thank you so much!!!
              You are the best :)

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Beginner_123
                last edited by

                @Beginner_123 what was the ‘fix’ ? open a new window?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • S sdetweil has marked this topic as solved
                • S sdetweil has marked this topic as solved

                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 / 1
                • 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