Publishing stuck: Agent Timeout while building page.tsx (v0 project)

Body:
Hello,

I’m facing an issue with my v0 project. The publishing process keeps getting stuck with an Agent Timeout error while building page.tsx.

Steps I already tried:

  • Fixed JSX parsing issues (added missing closing tags like </div>, </p>).

  • Restored the scroll-to-top button component at the end of the file.

  • Verified the function closes properly (export default function Page() { return (…) }).

Despite these fixes, publishing still fails and the project won’t compile.

Could you please advise how to resolve this or reset the project build process from your side?

Thanks in advance.

Hi, @makharizdecoration-9! Welcome to the Vercel Community.

We appreciate your patience :pray: Are you still seeing this?

The timeout error during builds is usually related to build performance or resource constraints.

  • Try publishing again, sometimes it’s a temporary issue
  • Check if your page.tsx has any infinite loops or heavy computations during build time
  • Make sure you’re not importing large files or running expensive operations at the module level

Let us know how you get on!