I’m having trouble deploying my Next.js site using V0, even though I successfully deployed the exact same site 3 days ago with no issues. Now, I’m hitting a wall with a build error that I can’t figure out.
The error I’m getting is:
`Build Error:`
`Failed to compile.`
`next/dist/client/components/not-found-error`
When I try to get V0 to fix it, the error changes to:
`Build Error:`
`Failed to compile.`
What’s confusing is that I haven’t touched the codebase since the last successful deployment. I’m wondering if this could be tied to a recent Next.js update, but I’m not certain. I’m also on the Pro version of V0, and right now, I can’t get anything working, which is frustrating given the paid subscription.
Has anyone else encountered this recently? I’d really appreciate any insights or suggestions you might have.
Hi,
sure, but is there a way to send it to you via private chat? It is a project I will be releasing soon and I do not want it to be public or to let anyone fork it.
Solved it! All I had to do was hop onto the Vercel dashboard and manually redeploy the project, making sure to uncheck that “Use existing Build Cache” box. Now, when I deploy from V0, it works like a charm. No idea why this did the trick—maybe V0’s pulling from the build cache or something?