jclarke0000 / MMM-MyCalendar

Alternative calendar module for MagicMirror.
57 stars 17 forks source link

Magic Mirror will not load with newest update #35

Open dbeltjr opened 3 years ago

dbeltjr commented 3 years ago

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.

sakowitz commented 3 years ago

me too.

deg0nz commented 3 years ago

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...

dbeltjr commented 3 years ago

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

robertalexa commented 3 years ago

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

Srcodesalittle commented 3 years ago

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?

robertalexa commented 3 years ago

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

lordvalium commented 3 years ago

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

usafle commented 2 years ago

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