← All errors · VercelVercel build & deploy errors

No Output Directory named "dist" found after the Build completed

Exact error

Error: No Output Directory named "dist" found after the Build completed. You can configure the Output Directory in your Project Settings.

What it means

The build ran, but the folder Vercel was told to serve doesn't exist.

Likely causes

How to fix it

  1. Check what your build actually produces locally: `npm run build && ls`.

  2. Set the correct Framework Preset, or Output Directory, in your project's Settings → Build and Deployment → Framework Settings (Vite: dist, Create React App: build). A wrong value in the outputDirectory field of vercel.json overrides the dashboard, so check there too.

  3. In a monorepo, set Root Directory to the app folder.

Still stuck after trying this? Get it fixed for $49, or you don't pay.

Prevent this next time

Guide: catch outages before your users do.

Tools that help:

Some links on this page are affiliate links: if you sign up or buy through them, FixStack may earn a commission at no extra cost to you. Learn more.

FAQ

What does "No Output Directory named "dist" found after the Build completed" mean?

The build ran, but the folder Vercel was told to serve doesn't exist.

What usually causes it?

Framework preset set to "Other" so Vercel expects a different folder. Your build outputs to build/ (Create React App) or out/ but settings say dist/, or vice versa. Project root directory set wrong in a monorepo.

How do I fix it?

1. Check what your build actually produces locally: `npm run build && ls`. 2. Set the correct Framework Preset, or Output Directory, in your project's Settings → Build and Deployment → Framework Settings (Vite: dist, Create React App: build). A wrong value in the outputDirectory field of vercel.json overrides the dashboard, so check there too. 3. In a monorepo, set Root Directory to the app folder.

Last checked against official docs on . Sources: Vercel docs: configuring a build.

Related errors

More Vercel errors and fixes →

Tools that help

  • Railway: Deploy backends and databases; new users get $20 credit.

Some links on this page are affiliate links: if you sign up or buy through them, FixStack may earn a commission at no extra cost to you. Learn more.

Get new fixes weekly

No spam. Unsubscribe anytime. Privacy