Skip to content

How to tell vercel deploy --prebuilt to only upload .next folder to avoid "Error: Invalid request: files should NOT have more than .."" #8643

Locked Answered by swarnava
GiancarlosIO asked this question in Help
Discussion options

You must be logged in to vote

Hi,

Have you ran vercel build before using vercel deploy --prebuilt ? You can also pass --archive=tgz to reduce number of files to upload.

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
11 replies
@GiancarlosIO
Comment options

@TooTallNate
Comment options

@GiancarlosIO
Comment options

@swarnava
Comment options

@GiancarlosIO
Comment options

Answer selected by swarnava
Comment options

You must be logged in to vote
1 reply
@swarnava
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants