File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,8 +2,10 @@ import type { NextConfig } from "next";
22
33const nextConfig : NextConfig = {
44 /* config options here */
5- // Explicitly set the root directory to avoid workspace detection issues
6- // This ensures Next.js uses the correct package.json and node_modules
5+ // Explicitly configure to avoid workspace detection issues
6+ // Next.js was detecting multiple lockfiles and using wrong root
7+ // Note: turbopack.root is set via environment variable or build command
8+ // For now, we rely on Root Directory setting in Vercel
79} ;
810
911export default nextConfig ;
Original file line number Diff line number Diff line change 11{
22 "framework" : " nextjs" ,
33 "installCommand" : " npm ci" ,
4- "buildCommand" : " npm run build" ,
4+ "buildCommand" : " TURBOPACK_ROOT=. npm run build" ,
55 "outputDirectory" : " .next"
66}
You can’t perform that action at this time.
0 commit comments