An error occurred while deploying NextJS app to Vercel.
P粉311464935
P粉311464935 2023-07-27 19:05:19
0
1
460
<p>Hi everyone, I'm trying to deploy a NEXT-JS app to Vercel, but very annoyingly, it keeps giving the following error even though I have app and pages folders in the project root. I tried to find a solution on Google but I couldn't find one with the same situation as mine. </p><p><br /></p>
P粉311464935
P粉311464935

reply all(1)
P粉828463673

Looks like you have disabled the app directory functionality in your Next configuration.

const nextConfig = {
  experimental: {
    appDir: false,
  }
}

All your page content is currently located in the app directory. Therefore, the build process may not be able to find it.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!