← All fixes
Vercel: No Output Directory named "dist" found after the Build completed
#124Error
Error: No Output Directory named "dist" found after the Build completed. You can configure the Output Directory in your Project Settings.
Why it happens, and why this works
Vercel looked for the build output in a folder your build doesn't produce: the framework preset is wrong (e.g. 'Other'), the app is in a subfolder, or the build writes to build/ or out/ instead.
Fix
In Project Settings > Build and Deployment: pick the right Framework Preset (Vite, Next.js, Create React App...), set Root Directory if the app is in a subfolder, and make Output Directory match what npm run build actually creates (dist for Vite, build for CRA). Run the build locally to see which folder appears.
Did it work?
No reports yet0 worked0 didn't
Tried it yourself?
Related fixes
Named export not found: the requested module is a CommonJS module
#27SyntaxError: Named export 'greet' not found. The requested module './lib.cjs' is a CommonJS module, which may not support all module.exports as named exports.
nodeVerifiedNo reports yet
Vercel build fails: Command "npm run build" exited with 1 (works locally)
#148Error: Command "npm run build" exited with 1 on Vercel, while the build passes on my machine
ImportError: cannot import name from partially initialized module (circular import)
#52ImportError: cannot import name 'User' from partially initialized module 'models' (most likely due to a circular import). Python 3.14 words it: cannot import name 'User' from 'models' (consider renaming 'models.py' if it has the same name as a library you intended to import)
pythonVerifiedNo reports yet