i am having trouble with the build of my new pull request, I added a vercel.json i fixed the settings in vercel, i have everything set up correctly and the build is running perfectly locally but it just doesnt work on vercel and it always outputs this error:
Error: No Output Directory named “build” found after the Build completed. You can configure the Output Directory in your Project Settings.
Could you share your vercel.json with us? It sounds like you’ve set up the Output Directory to build but Vercel can’t find it.
Sharing some relevant documentation below.
After building a project, most frameworks output the resulting build in a directory. Only the contents of this Output Directory will be served statically by Vercel. If Vercel detects a framework, the output directory will automatically be configured.