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.

    Mirror goes to black after adding MMM-CalendarWeek

    Scheduled Pinned Locked Moved Solved Troubleshooting
    11 Posts 4 Posters 4.3k Views 4 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
      maddmurph
      last edited by

      I was having a ton of issues with my Mirror, so I deleted everything and started over. In the default mode it works fine. I have the clock and the weather.

      Now I have installed MMM-CalendarWeek (git cloned, npm install, etc) and the screen goes to black. npm run config:check doesn’t show any errors but it’s still not working.

      {
                              module: "MMM-CalendarWeek",
                              position: "lower_third",
                              config: {
                                      calendars:[
                                              {
                                              url: "https://calendar.google.com/calendar/ical/secretGooglecode"
                                              }
                                              ]
                                      }
                      },
      
      

      Any help would be appreciated.

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

        @maddmurph look at theessages where u start mm.

        you will probably see a message

        module not found

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

          @sdetweil

          [08.08.2021 15:39.45.829] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'valid-url'
          Require stack:
          - /home/pi/MagicMirror/modules/MMM-CalendarWeek/node_helper.js
          - /home/pi/MagicMirror/js/app.js
          - /home/pi/MagicMirror/js/electron.js
          - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
          
          

          So I’m guessing this means the url isn’t valid, but I copied the secret .ical address right from google. What am I missing?

          S 1 Reply Last reply Reply Quote 0
          • D Offline
            DJBOOB66
            last edited by DJBOOB66

            recheck your config you may mistakes" ],"

            {
                        module: "MMM-CalendarWeek",
                        position: "lower_third",
                        config: {
                                calendars:[
                                        {
                                        url: "https://calendar.google.com/calendar/ical/secretGooglecode"
                                        }
                        
                                }
            	   ],
             },
            
            M 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @maddmurph
              last edited by

              @maddmurph the valid-url and request modules were removed from mm in 2.16 as request has a security issue and will not be fixed.

              we’ve found quite a few modules that did not document the libraries they used, oops

              so to fix near term

              cd ~/MagicMirror
              npm install valid-url
              

              the module is still broken and next mm install this will fail again

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

                @sdetweil
                I did that and now nothing works. I get this error

                [08.08.2021 19:02.42.973] [ERROR] WARNING! Could not find config file. Please create one. Starting with default configuration.
                [08.08.2021 19:02.42.976] [LOG]   Loading module helpers ...
                [08.08.2021 19:02.42.977] [LOG]   No helper found for module: alert.
                [08.08.2021 19:02.42.979] [LOG]   Initializing new module helper ...
                [08.08.2021 19:02.42.980] [LOG]   Module helper loaded: updatenotification
                [08.08.2021 19:02.42.982] [LOG]   No helper found for module: clock.
                [08.08.2021 19:02.42.985] [LOG]   No helper found for module: weather.
                [08.08.2021 19:02.42.987] [LOG]   All module helpers loaded.
                [08.08.2021 19:02.42.989] [ERROR] App threw an error during load
                [08.08.2021 19:02.42.992] [ERROR] Error: ENOENT: no such file or directory, open
                    at Object.openSync (fs.js:466:3)
                
                

                Tried running npm install ENOENT but that’s apparently not a thing.

                S 1 Reply Last reply Reply Quote 0
                • M Offline
                  maddmurph @DJBOOB66
                  last edited by

                  @djboob66 Weird, it’s right in the config.js on the mirror. Good catch though.

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

                    @maddmurph weird a dozen people have done this successfully…

                    also npm install request

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    M 1 Reply Last reply Reply Quote 0
                    • Z Offline
                      Zwirbel
                      last edited by

                      In my case, in the error massage it said that also rrule-alt was missing, so I did a “npm install rrule-alt” to get it working again.

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

                        @zwirbel bingo. nice work.

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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

                          @sdetweil looks like I had https set to True and that was causing an issue in addition to the other installs needed.

                          Thanks for your help!

                          1 Reply Last reply Reply Quote 1

                          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