When I deploy to Vercel, I consistently get an error saying "A Serverless Function has exceeded the unzipped maximum size of 250 MB". I get no other error message. The function should run as intended.
I have tried to follow other posts with similar issues but to no avail. It seems like there is no specific fix for this issue.
The minimum requirements for my build are:
numpypandaspython-dotenvscikit-learnsupabasetqdmrequestsjoblibas per my requirements.txt file.
My vercel.json file is
{ "version": 2, "crons": [{ "path": "/api/analyze", "schedule": "1 0 * * *" }]}I have tried using React 22.0, 20.0, and 18.0, with no luck.