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-CalendarWeek doesn't display

    Scheduled Pinned Locked Moved Utilities
    22 Posts 2 Posters 2.1k 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.
    • D Offline
      DarrenO 0 @sdetweil
      last edited by

      @sdetweil
      in the MMM-CalendarWeek folder

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

        @DarrenO-0 show me the contents of the package.json file

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          DarrenO 0 @sdetweil
          last edited by

          @sdetweil
          ahhh!!! Got it!
          Had to run the following and restart MM each time until MM came up :
          npm install request
          npm install rrule-alt
          npm install rrule (as rrule-alt is deprecated)

          The error log still reports that module rrule-alt cannot be found, but the calendar now displays.

          thank you!

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

            @sdetweil
            cat package.json

            {
              "name": "mmm-calendarweek",
              "version": "1.0.0",
              "description": "This calendar module for [Magic Mirror²](https://github.com/MichMich/MagicMirror) is functionally the same as the default calendar app, however its presentation is different as it uses week view. This module displays events from a public .ical calendar. It can combine multiple calendars. Note that calendars may not contain any entry before 1st January 1970, otherwise the calendar won't be displayed and the module will crash.",
              "main": "MMM-CalendarWeek.js",
              "scripts": {
                "test": "echo \"Error: no test specified\" && exit 1"
              },
              "keywords": [],
              "author": "",
              "license": "ISC",
              "dependencies": {
                "request": "^2.88.2",
                "rrule": "^2.8.1",
                "rrule-alt": "^2.2.8",
                "valid-url": "^1.0.9"
              }
            }
            
            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @DarrenO 0
              last edited by sdetweil

              @DarrenO-0 yes and request is deprecated, and valid-url…

              that’s why we removed them, cause the base node and electron support fetch, which does all that and more…

              but the module could have supplied a package.json file and told you to run npm install to satisfy those code requirements

              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
                sdetweil @DarrenO 0
                last edited by

                @DarrenO-0 yes now package.json lists the dependencies

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @DarrenO-0

                  please use code blocks around
                  config , css, json, or error listing’s

                  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
                  • 2 / 3
                  • 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