• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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
93 Posts 9 Posters 16.5k 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.
  • M Offline
    MMRIZE @caw
    last edited by Sep 4, 2024, 6:51 AM

    @caw could you show me the capture of error message to know what happened?

    C 1 Reply Last reply Sep 4, 2024, 8:05 AM Reply Quote 0
    • C Offline
      caw @MMRIZE
      last edited by sdetweil Sep 4, 2024, 10:30 AM Sep 4, 2024, 8:05 AM

      @MMRIZE if i´m adding the

       {
      		module :"MMM-CalDAV",
      		config: {
      			servers: [
      				{
      					envPrefix: "SYNOLOGY_",
      					serverUrl: "https://myownsynologyadress.de/caldav/",
      			],
      		},
      	},
      

      following error occurs

      67dabd85-84e5-4b0a-bd0e-749d4ba4e3c6-grafik.png

      M S 3 Replies Last reply Sep 4, 2024, 12:53 PM Reply Quote 0
      • M Offline
        MMRIZE @caw
        last edited by Sep 4, 2024, 12:53 PM

        @caw said in MMM-CalDAV:

        following error occurs

        67dabd85-84e5-4b0a-bd0e-749d4ba4e3c6-grafik.png

        ???
        I cannot understand the context. What did you do? The image seems like that something on the browser.

        Does your MagicMirror is executed on the Synology NAS with Docker?

        1 Reply Last reply Reply Quote 0
        • M Offline
          MMRIZE @caw
          last edited by Sep 4, 2024, 12:54 PM

          @caw said in MMM-CalDAV:

          {
          module :“MMM-CalDAV”,
          config: {
          servers: [
          {
          envPrefix: “SYNOLOGY_”,
          serverUrl: “https://myownsynologyadress.de/caldav/”,
          ],
          },
          },

          And you’ve missed a closing brace in your code.

           {
          		module :"MMM-CalDAV",
          		config: {
          			servers: [
          				{
          					envPrefix: "SYNOLOGY_",
          					serverUrl: "https://myownsynologyadress.de/caldav/",
                                           }, // <-- HERE
          			],
          		},
          	},
          
          C 1 Reply Last reply Sep 4, 2024, 1:40 PM Reply Quote 0
          • C Offline
            caw @MMRIZE
            last edited by Sep 4, 2024, 1:40 PM

            @MMRIZE yes the image is a screen from the browser. MM is running till i add the Caldav-Module. So i assume I missconfigured something. The missing bracket did not solve the problem in the log:

            2024/09/04 15:33:13 stderr if (key?.startsWith(prefix)) {
            2024/09/04 15:33:13 stderr [04.09.2024 15:33.13.728] [ERROR] /opt/magic_mirror/modules/MMM-CalDAV/node_helper.js:14
            2024/09/04 15:33:13 stderr [04.09.2024 15:33.13.727] [ERROR] Whoops! There was an uncaught exception…
            2024/09/04 15:33:13 stdout [04.09.2024 15:33.13.726] [LOG] No helper found for module: MMM-Carousel.
            2024/09/04 15:33:13 stdout [04.09.2024 15:33.13.726] [LOG] No helper found for module: clock.
            2024/09/04 15:33:13 stdout [04.09.2024 15:33.13.725] [LOG] Module helper loaded: updatenotification
            2024/09/04 15:33:13 stderr at /opt/magic_mirror/js/app.js:166:6
            2024/09/04 15:33:13 stderr at loadNextModule (/opt/magic_mirror/js/app.js:164:5)
            2024/09/04 15:33:13 stdout [04.09.2024 15:33.13.725] [LOG] Initializing new module helper …
            2024/09/04 15:33:13 stderr at loadModule (/opt/magic_mirror/js/app.js:126:19)
            2024/09/04 15:33:13 stderr at require (internal/modules/cjs/helpers.js:74:18)
            2024/09/04 15:33:13 stderr at Module.require (internal/modules/cjs/loader.js:887:19)
            2024/09/04 15:33:13 stdout [04.09.2024 15:33.13.725] [LOG] No helper found for module: alert.
            2024/09/04 15:33:13 stderr at Function.Module._load (internal/modules/cjs/loader.js:708:14)
            2024/09/04 15:33:13 stderr at Module.load (internal/modules/cjs/loader.js:863:32)
            2024/09/04 15:33:13 stdout [04.09.2024 15:33.13.724] [LOG] Loading module helpers …
            2024/09/04 15:33:13 stderr at Object.Module._extensions…js (internal/modules/cjs/loader.js:1027:10)
            2024/09/04 15:33:13 stderr at Module._compile (internal/modules/cjs/loader.js:963:27)
            2024/09/04 15:33:13 stderr at wrapSafe (internal/modules/cjs/loader.js:915:16)
            2024/09/04 15:33:13 stderr SyntaxError: Unexpected token ‘.’

            S 1 Reply Last reply Sep 4, 2024, 2:41 PM Reply Quote 0
            • S Away
              sdetweil @caw
              last edited by Sep 4, 2024, 2:41 PM

              @caw because you are running in server mode, the version of nodejs matters.

              your version is way down level

              the ?. syntax shown on line 14 is from the latest js version

              IMG_0187.png

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              C 1 Reply Last reply Sep 4, 2024, 3:15 PM Reply Quote 0
              • C Offline
                caw @sdetweil
                last edited by Sep 4, 2024, 3:15 PM

                @sdetweil thank you very much for the information - but now i have another problem to get it updated can you help me with this?

                S 1 Reply Last reply Sep 4, 2024, 4:50 PM Reply Quote 0
                • S Away
                  sdetweil @caw
                  last edited by Sep 4, 2024, 4:50 PM

                  @caw what environment are you running?

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  C 1 Reply Last reply Sep 4, 2024, 5:17 PM Reply Quote 0
                  • C Offline
                    caw @sdetweil
                    last edited by Sep 4, 2024, 5:17 PM

                    @sdetweil im running the docker container on a Synology NAS

                    S 1 Reply Last reply Sep 4, 2024, 5:30 PM Reply Quote 0
                    • S Away
                      sdetweil @caw
                      last edited by Sep 4, 2024, 5:30 PM

                      @caw what docker container?

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      C 1 Reply Last reply Sep 4, 2024, 5:57 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 9
                      • 10
                      • 4 / 10
                      4 / 10
                      • First post
                        35/93
                        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