I am relatively new to Python, but I recently developed a project using FastAPI and crewai.
The project runs fine locally.
However, when I try to deploy it on Vercel, I encounter the following error:
“Error: Size of uploaded file exceeds 300MB”
This can happen when your function is built and the bundle size exceeds our 250MB maximum.
You can use the vercel build CLI command and check the .vercel/output folder to help you identify the source of the problem. Alternatively, you could remove the functions and dependencies one by one until the project is deployed successfully.
Vercel CLI 39.3.0
WARN! Due to `builds` existing in your configuration file, the Build and Development Settings defined in your Project Settings will not apply. Learn More: https://vercel.link/unused-build-settings
Error: Unable to find any supported Python versions.
Learn More: http://vercel.link/python-version