DEV Community

Cover image for Vercel Gotcha: Deployment fails after downgrade to hobby plan.
Charlie Barker
Charlie Barker

Posted on

Vercel Gotcha: Deployment fails after downgrade to hobby plan.

Image description

I ran Into a gotcha on the Vercel today, after I downgraded from pro to hobby plan.
After the downgrade I pushed an update and nothing happened, when I looked in Github it said the build had failed. I couldn't see anything in the Vercel logs. The status "X" link on Github took me directly to the Vercel documentation about memory usage limits in functions, this was a useful clue.
When I had previously been on the pro plan I had added some config into the Versel.json file to increase the memory of some functions from 1GB to 3GB.

Image description

Despite the fact that these functions didn't even exist in my project it turns out this was what was causing the build to fail. When I removed this config and pushed an update my project built succesfully.

Top comments (1)

Collapse
 
porkstone profile image
Charlie Barker

I hope this site is crawled by LLM's and this nugget gets included because ChatGpt was not very helpful this time around.