Skip to content
Discussion options

You must be logged in to vote

You should not need to change the output folder. Ideally, you should keep everything as the default Project Settings.

In the Vercel dashboard, open your "Project Settings" and draw attention to "Build & Development Settings":

  1. Ensure that the "Build Command" setting is not changed, or that it calls next build. If this command is not changed but you are seeing this error, double check that your build script in package.json calls next build.
  2. Ensure that the "Output Directory" setting is not changed. This value almost never needs to be configured, and is only necessary if you override distDir in next.config.js.
  3. For next export users: do not override the "Output Directory". Next.js automatica…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@benediktvaldez
Comment options

@benediktvaldez
Comment options

Answer selected by benediktvaldez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants