MMM-MyCalendar icon indicating copy to clipboard operation
MMM-MyCalendar copied to clipboard

Magic Mirror will not load with newest update

Open dbeltjr opened this issue 3 years ago • 8 comments

My MagicMirror completely stops working when I try to use the MyCalendar module. I have used it for 2+ years with no issues, but the latest MagicMirror update seems to crash when I try and load it. I have even started from scratch with a new Raspbian Lite and LXDE and it will not load.

dbeltjr avatar Apr 26 '21 23:04 dbeltjr

me too.

sakowitz avatar Apr 27 '21 21:04 sakowitz

I already created pull request #34 to fix this issue almost 2 weeks ago.

Until the PR is merged, you can work around this issue by using my fork:

git clone https://github.com/deg0nz/MMM-MyCalendar
cd MMM-MyCalendar
npm install

Unfortunately, I doubt that anything will happen, because this project seems abandoned to me. When you look into the issues, code commits and pull requests, nothing really happened for some years...

deg0nz avatar Apr 28 '21 08:04 deg0nz

Fantastic deg0nz, glad you were able to fork it and resolve that issue! I'll be giving it a try.

dbeltjr avatar Apr 28 '21 19:04 dbeltjr

Or even easier, run npm install valid-url and that will resolve the dependency globally. No need to clone a different fork.

Not ideal but no harm either

robertalexa avatar Jun 14 '21 12:06 robertalexa

I already created pull request #34 to fix this issue almost 2 weeks ago.

Until the PR is merged, you can work around this issue by using my fork:

git clone https://github.com/deg0nz/MMM-MyCalendar
cd MMM-MyCalendar
npm install

Unfortunately, I doubt that anything will happen, because this project seems abandoned to me. When you look into the issues, code commits and pull requests, nothing really happened for some years...

Hi, I'm using your fork and I still run into my recent issue #36 . Do you have any suggestion?

Srcodesalittle avatar Aug 20 '21 03:08 Srcodesalittle

https://github.com/jclarke0000/MMM-MyCalendar/issues/35#issuecomment-860656081

robertalexa avatar Aug 20 '21 08:08 robertalexa

npm install valid-url aswell as creating .gitignore and package.json as written in the pull-request did not work.. App is not running.

lordvalium avatar Sep 19 '21 17:09 lordvalium

I've been pulling my hair out with this for some time and I thought your solution would have fixed my issue. Unfortunately, it has not and I have barely enough experience just to be dangerous to myself. LoL

 WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'rrule-alt'
Require stack:
- /home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/node-ical.js
- /home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/index.js
- /home/pi/MagicMirror/modules/MMM-MyCalendar/calendarfetcher.js
- /home/pi/MagicMirror/modules/MMM-MyCalendar/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

I've no idea how to fix this specific error on your fork.

EDIT found https://forum.magicmirror.builders/topic/15211/trouble-after-update-with-many-modules/5?_=1636909099279&lang=en-US that discussion over on the MagicMirror forum. Running the command: npm install rrule-alt in the module directory fixed ALL of the issues I was having!

I already created pull request #34 to fix this issue almost 2 weeks ago.

Until the PR is merged, you can work around this issue by using my fork:

git clone https://github.com/deg0nz/MMM-MyCalendar
cd MMM-MyCalendar
npm install

usafle avatar Nov 14 '21 16:11 usafle