I definitely didn't upload node_modules, but I evaluated my project's build size and it is building to 100mb (already a lot, I have no idea how that happened, but under the 250 limit). Unfortunately I don't have any reproduceable steps, but I don't mind you poking around my project.
My guess is something is wrong internally with vercel's building of nextjs + fastapi projects. I actually started from the nextjs + fastapi template and added quite a bit of code with shadcn + v0 outputs and my own code.
I have no idea, but I was hoping to push this big release today :(
I've had like 4 failures for trying to create workarounds (latest one here). I am really not sure how to proceed. You must have many nextjs + fastapi projects deploying successfully.
It seems to be "Serverless Functions" of which I have 1 python endpoint. I tried reducing my pip dependencies with no luck. It's one tiny function. It can't be >250mb...
BTW- why use aws' lambda functions instead of just managing your own kube cluster? seems like you have some good devops engineers. with that, you could write your own autoscaling serverless functions setup without any limitations on docker container sizes and caching and such.