The preview failed with a Turbopack error. Next.js was unable to locate the next/package.json within the inferred project directory (/vercel/share/v0-next-shadcn/app). This typically happens when the root directory for Turbopack is misconfigured or the package structure is not resolvable from the current path.
The error indicates that Next.js cannot find its packages in the expected location (/vercel/share/v0-next-shadcn/app), which is part of v0’s internal structure rather than your project.
As a workarounds you could try duplicating your chat to a new project to get a fresh sandbox environment or export your code and deploy it directly to Vercel instead of using v0 preview
The v0 team is aware of some Turbopack-related preview issues and is working to solve them. For now, deploying outside of v0’s preview environment is the most reliable solution.
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
