jclarke0000 / MMM-MyWastePickup

Module for MagicMirror to display your schedule for Toronto curbside waste pickup
11 stars 10 forks source link

Schedule constant loading. #18

Open Theck94 opened 1 year ago

Theck94 commented 1 year ago

I have checked to ensure my schedule file is named correctly.

I was initially getting the following error.

TypeError: parse is not a function at /home/user/MagicMirror/modules/MMM-MyWastePickup/node_helper.js:36:9 at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)

I commented out the parse lines and was no longer getting the issues

image

Lastly, I tried to restore everything to original and just use a Toronto based pickup schedule and that still did not work, but I am unsure if that is because the calendar is dated. Anyone know how I can resolve the parse function error and get the custom calendar working?