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.

    MMM-CalDAV

    Scheduled Pinned Locked Moved Productivity
    97 Posts 10 Posters 27.6k Views 9 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.
    • S Offline
      sdetweil @Tiller
      last edited by

      @Tiller awesome!! thanks for the feedback

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        MrPringless @sdetweil
        last edited by

        @MMRIZE

        Hello,
        Please Can you help me and Sorry for my bad English.

        I have a Problem wit the CalDAV Module in Magic Mirror2.

        in the pm2 error Log File i have this Message:
        [2025-09-04 11:42:08.001] [ERROR] Error when loading MMM-CalDAV: Cannot find module ‘dotenv’
        Require stack:

        • /home/magicmirror/MagicMirror/modules/MMM-CalDAV/node_helper.js
        • /home/magicmirror/MagicMirror/js/app.js
        • /home/magicmirror/MagicMirror/js/electron.js
          [2025-09-04 11:42:08.379] [WARN] You’re using a full whitelist configuration to allow for all IPs
          [2025-09-04 11:42:17.749] [ERROR] Calendar Error. Could not fetch calendar: http://localhost:8080/CALDAV/FAMILY_Familienkalender.ics Error: Not Found
          at NodeHelper.checkFetchStatus (/home/magicmirror/MagicMirror/js/node_helper.js:102:9)
          at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
          [2025-09-04 11:42:18.028] [ERROR] Calendar Error. Could not fetch calendar: http://localhost:8080/CALDAV/NINA_Arbeit.ics Error: Not Found
          at NodeHelper.checkFetchStatus (/home/magicmirror/MagicMirror/js/node_helper.js:102:9)
          at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
          [2025-09-04 11:42:18.226] [ERROR] Calendar Error. Could not fetch calendar: http://localhost:8080/CALDAV/DOMINIQUE_Klasse7d.ics Error: Not Found
          at NodeHelper.checkFetchStatus (/home/magicmirror/MagicMirror/js/node_helper.js:102:9)
          at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
          [2025-09-04 11:42:18.406] [ERROR] Calendar Error. Could not fetch calendar: http://localhost:8080/CALDAV/SAMUEL_Klasse4f.ics Error: Not Found
          at NodeHelper.checkFetchStatus (/home/magicmirror/MagicMirror/js/node_helper.js:102:9)
          at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
          [2025-09-04 11:47:17.764] [ERROR] Calendar Error. Could not fetch calendar: http://localhost:8080/CALDAV/FAMILY_Familienkalender.ics Error: Not Found
          at NodeHelper.checkFetchStatus (/home/magicmirror/MagicMirror/js/node_helper.js:102:9)
          at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
          [2025-09-04 11:47:18.035] [ERROR] Calendar Error. Could not fetch calendar: http://localhost:8080/CALDAV/NINA_Arbeit.ics Error: Not Found
          at NodeHelper.checkFetchStatus (/home/magicmirror/MagicMirror/js/node_helper.js:102:9)
          at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

        The following errors are clear thats the result from the First ERROR.

        What im doing Wrong or thinking false?

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

          @MrPringless did you run
          npm install
          In the module folder after the git clone?

          git clone …
          cd MMM-CalDAV
          npm install

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            MrPringless @sdetweil
            last edited by

            @sdetweil Thanks for your reply.
            It’s a bit crazy. I completely reinstalled everything two days ago using copy and paste from the module page.
            Then I copied the .env file from the old installation to the new installation.
            Could this be because I copied the .env file from a backup into the directory after the reinstallation?
            Thanks for the feedback, because I’d like to learn from my mistakes.

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

              @MrPringless I do not know the inner workings of the module.

              typically
              module not found
              means npm install for the module was not done or the package.json for the module didn’t list the library dependency. MMRIZE is very good on that point, so I don’t the second is the reason…

              but thanks for the nudge… my backup/restore scripts will save/restore extra files discovered in a modules folder… but files with leading dot are hidden by convention… so I will have to check that

              I would not have picked up the .env file… fixed… thx

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 3
              • 4
              • 5
              • 9
              • 10
              • 1 / 10
              • 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