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.

    My Calendar Woes

    Scheduled Pinned Locked Moved Troubleshooting
    8 Posts 2 Posters 738 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.
    • S Do not disturb
      sdetweil @Sachin
      last edited by

      @sachin can u remove MagicMirror/node_modules folder, and package-lock.json and then run npm install again.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @sdetweil Followed your instructions and get a slightly different set of error messages…

        0|mm | ATTENTION: default value of option force_s3tc_enable overridden by environment.
        0|mm | [22.02.2021 11:14.01.081] [ERROR] Whoops! There was an uncaught exception…
        0|mm | [22.02.2021 11:14.01.096] [ERROR] TypeError: Cannot read property ‘guess’ of undefined
        0|mm | at getCorrection (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:429:31)
        0|mm | at /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:378:24
        0|mm | at Array.forEach ()
        0|mm | at Request._callback (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:102:25)
        0|mm | at Request.self.callback (/home/pi/MagicMirror/modules/node_modules/request/request.js:185:22)
        0|mm | at Request.emit (events.js:210:5)
        0|mm | at Request. (/home/pi/MagicMirror/modules/node_modules/request/request.js:1154:10)
        0|mm | at Request.emit (events.js:210:5)
        0|mm | at Gunzip. (/home/pi/MagicMirror/modules/node_modules/request/request.js:1076:12)
        0|mm | at Object.onceWrapper (events.js:299:28)
        0|mm | [22.02.2021 11:14.01.102] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
        0|mm | [22.02.2021 11:14.01.108] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues

        /home/pi/.pm2/logs/sonos-error-1.log last 15 lines:
        1|sonos | (node:1010) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
        1|sonos | (node:1036) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
        1|sonos | (node:967) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
        1|sonos | (node:972) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
        1|sonos | (node:1024) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
        1|sonos | (node:958) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
        1|sonos | (node:981) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
        1|sonos | (node:1004) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
        1|sonos | (node:872) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
        1|sonos | (node:955) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
        1|sonos | (node:889) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
        1|sonos | (node:880) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
        1|sonos | (node:901) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
        1|sonos | (node:854) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
        1|sonos | (node:915) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

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

          @sachin weird. same error

          lets try this

          edit ~/MagicMirror/modules/default/calendar/calendarfetcher.js

          change line 17 from

          const moment = require("moment");
          

          to

          const moment = require("moment-timezone");
          

          and try again

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil That was it! Thank you so much!

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

              @sachin wonder why just for you…

              maybe cause your cal doesnt use tz strings just offsets

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 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