Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cal.com template throws 500 error #397

Open
piotrski opened this issue Mar 6, 2023 · 0 comments
Open

Cal.com template throws 500 error #397

piotrski opened this issue Mar 6, 2023 · 0 comments

Comments

@piotrski
Copy link

piotrski commented Mar 6, 2023

Cal.com template is not working and throws an error 500 when you try to access AvailabilityPage. This only happens on the railway and I am unable to reproduce it locally. This is probably due to some differences in the node environment in the nixpacks, but I have no idea how to debug this.

@calcom/web:start: RangeError: Invalid time value
@calcom/web:start:     at Date.toISOString (<anonymous>)
@calcom/web:start:     at M.u.toISOString (/app/node_modules/dayjs/plugin/utc.js:1:1907)
@calcom/web:start:     at useSlots (/app/apps/web/.next/server/chunks/3942.js:699:31)
@calcom/web:start:     at SlotPicker (/app/apps/web/.next/server/chunks/3942.js:767:40)
@calcom/web:start:     at Wc (/app/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44)
@calcom/web:start:     at Zc (/app/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253)
@calcom/web:start:     at Z (/app/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
@calcom/web:start:     at $c (/app/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
@calcom/web:start:     at bd (/app/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:77:404)
@calcom/web:start:     at Z (/app/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:217)
@calcom/web:start:     at $c (/app/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
@calcom/web:start:     at Zc (/app/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:71:145)
@calcom/web:start:     at Z (/app/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
@calcom/web:start:     at $c (/app/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
@calcom/web:start:     at Zc (/app/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:71:145)
@calcom/web:start:     at Z (/app/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)

Ref: calcom/cal.com#5890

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant