commenthol / date-holidays

worldwide holidays
https://commenthol.github.io/date-holidays/
Other
911 stars 236 forks source link

There is an issue Data.cjs file #377

Open jamesmwase opened 1 year ago

jamesmwase commented 1 year ago

It happened first time I forgot to catch it. This is the second time this issue has happened in my knowledge so I figured I might as well report it.

node_modules/date-holidays-parser/lib/Data.cjs:132 (state && tmp.states && (tmp = tmp.states[state])) ^

[TypeError: Cannot read properties of undefined (reading 'states') at Data.getRules (/home/james/Documents/app/backend-master/node_modules/date-holidays-parser/lib/Data.cjs:132:25) at listOnTimeout (node:internal/timers:564:17) at processTimers (node:internal/timers:507:7) ]

Node.js v18.12.1 [nodemon] app crashed - waiting for file changes before starting...