Problems deploying a next app to vercel #4504
-
|
I'm having problems deploying this app to vercel. This is the structure of my folder: If I run Then I simply run
Any thoughts on what I could be doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
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":
|
Beta Was this translation helpful? Give feedback.
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":
next build. If this command is not changed but you are seeing this error, double check that yourbuildscript inpackage.jsoncallsnext build.distDirinnext.config.js.next exportusers: do not override the "Output Directory". Next.js automatica…