Next.js Discord

Discord Forum

Monorepo Vercel CLI Deployment

Unanswered
West African Lion posted this in #help-forum
Open in Discord
West African LionOP
Hey!

I have my next app in a monorepo succesfully building. However when trying to deploy in cli, i get a file upload error:

> [debug] [2025-09-06T22:18:59.798Z] Uploaded: /root/project/apps/web/.next/react-loadable-manifest.json (416B)
[client-debug] 2025-09-06T22:18:59.806Z DONE in 347ms: POST https://api.vercel.com/v2/files?teamId=*****************************
[client-debug] 2025-09-06T22:18:59.806Z An internal error occurred in upload request. Not retrying...
[client-debug] 2025-09-06T22:18:59.806Z Other error, bailing: Invalid file size
[client-debug] 2025-09-06T22:18:59.807Z An unexpected error occurred in upload promise:
AbortError: The user aborted a request.
[client-debug] 2025-09-06T22:18:59.807Z Other error, bailing: AbortError: The user aborted a request.
[client-debug] 2025-09-06T22:18:59.807Z An unexpected error occurred in upload promise:
AbortError: The user aborted a request.
[client-debug] 2025-09-06T22:18:59.807Z Other error, bailing: AbortError: The user aborted a request.
[client-debug] 2025-09-06T22:18:59.807Z An unexpected error occurred in upload promise:
AbortError: The user aborted a request.
[client-debug] 2025-09-06T22:18:59.807Z Other error, bailing: AbortError: The user aborted a request.
[client-debug] 2025-09-06T22:18:59.807Z An unexpected error occurred in upload promise:
AbortError: The user aborted a request.
[client-debug] 2025-09-06T22:18:59.807Z Other error, bailing: AbortError: The user aborted a request.
[client-debug] 2025-09-06T22:18:59.808Z Yielding a 'error' event
> [debug] [2025-09-06T22:18:59.810Z] Error: Error: AbortError: The user aborted a request.

5 Replies

West African LionOP
it doesnt even say what file is too big to be deployed, how would i take some steps in fixing this?
for context, this from running vercel deploy --prebuilt --prod
West African LionOP
is there a way to trigger a vercel build from CI? like sort of the git integration w/ access to source code but from a cli command?
ie not building on my pipeline but my pipeline triggering a build
i want some other jobs to run before a deploy