You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on adding some new pages to a site that we deploy using Vercel. The site deploys just fine on our main branch. I created a branch of our site, added a few components and markdown files, made a few code edits, and then push to Vercel. However, the Vercel build fails with:
Error: The Serverless Function "sync/resources" is 1.08gb which exceeds the maximum size limit of 300mb. Learn More: https://vercel.link/serverless-function-size
However, I'm not sure why these large dependencies are being included here but not on main. I did not add any additional packages or dependencies on my working branch. When I run vercel build locally it builds successfully, but I do get this warning, which is probably related:
WARNING: You should not upload the `.next` directory.
I did not make any changes explicitly ask it to include .next. Anyone else experienced this? Pointers in the right direction?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Description
I am working on adding some new pages to a site that we deploy using Vercel. The site deploys just fine on our
main
branch. I created a branch of our site, added a few components and markdown files, made a few code edits, and then push to Vercel. However, the Vercel build fails with:Earlier up in the logs I see:
However, I'm not sure why these large dependencies are being included here but not on
main
. I did not add any additional packages or dependencies on my working branch. When I runvercel build
locally it builds successfully, but I do get this warning, which is probably related:I did not make any changes explicitly ask it to include
.next
. Anyone else experienced this? Pointers in the right direction?Beta Was this translation helpful? Give feedback.
All reactions