You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to find your themeparks version:
Linux: npm list --depth=0 | grep themeparks
Windows CMD: npm list | find "themeparks"
PowerShell: npm list | sls themeparks
Describe the bug
The opening hours of the 2 Herschend parks have not been noted. From my console output (see below), I conclude that there is certainly an error in the code but I am unable to fix it. It would be cool if someone could look, I don't think it's hard to fix. Thanks !
Output TypeError: scheduleData.forEach is not a function at FetchOpeningTimes.HTTP.then (/home/container/node_modules/themeparks/lib/herschend/herschendparkbase.js:105:20) at process._tickCallback (internal/process/next_tick.js:68:7)
The text was updated successfully, but these errors were encountered:
I have a temporary solution to this issue. It seems that Dollywood and Silver Dollar City have moved their calendar APIs to their own respective websites, as such the URL I am using for Silver Dollar City is
However, if the park is not set to open, it will not be present on the JSON file. I do not fully know if you can swap out silverdollarcity for dollywood to grab Dollywood's park times, but seeing as both websites are similar in styles I would expect it would work.
Park
All parks Herschend (Dollywood & Silver Dollar City)
Context
How to find your themeparks version:
Linux: npm list --depth=0 | grep themeparks
Windows CMD: npm list | find "themeparks"
PowerShell: npm list | sls themeparks
Describe the bug
The opening hours of the 2 Herschend parks have not been noted. From my console output (see below), I conclude that there is certainly an error in the code but I am unable to fix it. It would be cool if someone could look, I don't think it's hard to fix. Thanks !
Output
TypeError: scheduleData.forEach is not a function
at FetchOpeningTimes.HTTP.then (/home/container/node_modules/themeparks/lib/herschend/herschendparkbase.js:105:20)
at process._tickCallback (internal/process/next_tick.js:68:7)
The text was updated successfully, but these errors were encountered: