← 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
- 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 to fix it
Check what your build actually produces locally: `npm run build && ls`.
Set the correct Framework Preset, or Output Directory, under Project → Settings → Build & Development (Vite: dist, CRA: build).
In a monorepo, set Root Directory to the app folder.
Prevent this next time
- Add a CI job that runs `npm ci && npm run build` on every push, mirroring a clean Vercel build.
- Pin your Node.js version in package.json `engines` and commit your lockfile.
Guide: catch outages before your users do.
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, under Project → Settings → Build & Development (Vite: dist, CRA: build). 3. In a monorepo, set Root Directory to the app folder.
Related errors
Get new fixes weekly
No spam. Unsubscribe anytime. Privacy