AlmostInteractive / node-red-contrib-basic-ical-calendar

MIT License
0 stars 0 forks source link

Calender can't update (fresh install) #4

Open LokiMidgard opened 1 month ago

LokiMidgard commented 1 month ago

I have a wired error:

updateCalendar error: Cannot find module '/data/node_modules/basic-ical-events/dist/windowsZones.json'
Require stack:
- /data/node_modules/basic-ical-events/dist/index.js
- /data/node_modules/@almostinteractive/node-red-contrib-basic-ical-calendar/dist/cal-config.js
- /usr/src/node-red/node_modules/@node-red/registry/lib/loader.js
- /usr/src/node-red/node_modules/@node-red/registry/lib/index.js
- /usr/src/node-red/node_modules/@node-red/runtime/lib/nodes/index.js
- /usr/src/node-red/node_modules/@node-red/runtime/lib/index.js
- /usr/src/node-red/node_modules/node-red/lib/red.js
- /usr/src/node-red/node_modules/node-red/red.js

the file mentioned windowsZones is missing:

ls /data/node_modules/basic-ical-events/dist/
convert.d.ts       icalCalendar.d.ts  icalUtils.d.ts     index.d.ts         index.js           index.js.map       interfaces.d.ts

did I miss something when setting up? I tried to find the repo of the package that seems to be at fault and open an issue there, but the link on the npm page leads to nirvana…

LokiMidgard commented 1 month ago

Ok I found it… I opened a pull request there to update the url

I also find a file with the same name as the missing in https://github.com/unicode-cldr/cldr-core/blob/master/supplemental/windowsZones.json

is this the correct one?

AlmostInteractive commented 1 month ago

Thank you! I've merged your PR and published an update.

I think windowsZones.json is supposed to be pulled in from kalendar-events but it's been so long I don't remember.