Deploy to Vercel seems to be broken for free plan #3596
-
Issue SummaryI've created a new deployment of cal.com, but it seems to be broken. Steps to Reproduce
|
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 5 replies
-
It seems that it was broken some time before, I found the same problem here |
Beta Was this translation helpful? Give feedback.
-
@nosovk however few other things that can be documented well: You need to change your build code, either remove the root dir, or remove the other thing i had to add as I am using supabase is
|
Beta Was this translation helpful? Give feedback.
-
According to docs serverless-function-size is the same for all plans, and came due to underlain AWS. In common config proposed by you seems to be more logical compared to one from docs. |
Beta Was this translation helpful? Give feedback.
-
@nosovk True the size seems to be same. Then someone needs to reduce the count of serverless functions; which seems to be impossible in this project as there are 1370 serverless functions (mostly language based pages) so the real number is around 40 or so. Vercel limit for hobby plan is 12. Regarding build: After my first successful build, i was also able to build successfully using the Update: |
Beta Was this translation helpful? Give feedback.
-
Probably should mention in docs that free vercel is not ok to host cal.com |
Beta Was this translation helpful? Give feedback.
-
maybe @zomars has some tips |
Beta Was this translation helpful? Give feedback.
-
Quick Q: Wouldn't this be mitigated by #3573 ? |
Beta Was this translation helpful? Give feedback.
@nosovk True the size seems to be same. Then someone needs to reduce the count of serverless functions; which seems to be impossible in this project as there are 1370 serverless functions (mostly language based pages) so the real number is around 40 or so. Vercel limit for hobby plan is 12.
https://vercel.com/docs/concepts/limits/overview#serverless-functions-created-per-deployment
Regarding build: After my first successful build, i was also able to build successfully using the
cd ../..
build code along with the custom directory. Not sure what the difference is.Update:
I believe the goal of
cd ../.. && yarn build
is to deploy prisma build commands and populate seed-app-store.