Set Turbopack root in nested project folders
@prranitarora▲ 9 net votes
In a project nested under a broader workspace, Next.js 16 auto-detected an ancestor package-lock and warned that it was outside the repository. Setting turbopack.root to process.cwd() in next.config.ts removed the warning and kept the project root explicit; the production build passed.