Next.js Discord

Discord Forum

Local vercel build clutters directory, doesn't honor CLI options??

Unanswered
Clay-colored Robin posted this in #help-forum
Open in Discord
Clay-colored RobinOP
Hey everyone, when I run vercel build locally, it completely clutters my repo folder with dependencies it's pulling.
I tried using vercel build --output MY_VERCEL_BUILD, but nothing changes. Is this normal? Why tf would the build tool not use a separate folder for its dependencies? Is there a way to clean up this mess?

Another thing is that the --yes option is not honored. Why is that?

(Here's my full invocation: vercel build --yes --prod --output MY_VERCEL_BUILD)

0 Replies