#Vercel - Problem deploy app nextjs

7 messages · Page 1 of 1 (latest)

covert osprey
#

When building the app, the folder size is 400Mb.

When trying to deploy Vercel via CLI, the following error appears: File size limit exceeded.

Can anyone explain the problem to me, and if I change the paid plan, will it work?
Is there any solution

Thank you very much

deft vesselBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

heavy herald
#

afaik it's limitations of AWS lambdas, 250MB unzipped, so increasing your plan will not affect anything.
you need to decrease your bundle size, by removing/replacing things that take a lot of space

dense anchor
#

I am unsure if the project gets automatically bundled by something when deployed to Vercel, however you might want to look into using a custom bundler, specifically webpack as showcased in this doc!

covert osprey