Fix · Vercel and deploying
Deployment too large or too many files
Not checked against the vendor's current screens
What you may see
- Upload fails with a size or file count message
- A function is bigger than the allowed size
Most likely cause
Large images, videos, data files or heavy packages were put inside the deployment.
Check first (about two minutes)
- Check the biggest folders in the project (du -sh * | sort -h).
The fix prompt
What you type here never leaves your browser. The search runs on this page, and nothing is sent to a server or to an AI.
Kept only in this browser, on this device. Keys and passwords are removed before anything is saved.
Prompt language
Paste it into Claude, ChatGPT, Gemini or Cursor, then follow what it says.
After you tried it, did it work?
Steps
- List the 15 biggest files and folders that are deployed.
- Move videos and huge images to a storage or video service and link to them; compress images; keep data files out of the function.
- Add what should never be uploaded to the ignore file for deployments.
Do not do this
- Do not commit videos into the repository.
- Do not delete images the pages use without replacing them.