Closed
Description
When I forked and tried to deploy without making any changes, I got the following error
Error: The file "/vercel/path0/.next/routes-manifest.json" couldn't be found. This is normally caused by a misconfiguration in your project.
Please check the following, and reach out to support if you cannot resolve the problem:
1. If present, be sure your `build` script in "package.json" calls `next build`.
2. Navigate to your project's settings in the Vercel dashboard, and verify that the "Build Command" is not overridden, or that it calls `next build`.
3. Navigate to your project's settings in the Vercel dashboard, and verify that the "Output Directory" is not overridden. Note that `next export` does **not** require you change this setting, even if you customize the `next export` output directory. Learn More: https://err.sh/vercel/vercel/now-next-routes-manifest</span>
I had to change the "Output Directory" to "build" in project settings on Vercel dashboard to deploy it successfully. I'm not familiar with next.js ecosystem but I realized this is defined in next.config.js
.
If this is something non-standard, can we add this bit to the readme?
Metadata
Metadata
Assignees
Labels
No labels