Nextjs deployment fails when I add another page

I'm trying to deploy my Nextjs site to Cloudflare pages, but I've just been getting "This deployment failed" with no reason why. I thought this was strange, so I decided to create a new project with C3 and port over the application little by little until the new one also broke. I've gotten the application to state that if I add any other page it fails to deploy - for instance, adding this page breaks the deployment:

// whatever/page.tsx
const Whatever = () => {
  return <div>Whatever</div>;
};

export default Whatever;


It would seem that I'm hitting some sort of resource limit, but I can't figure out which one. Also, it's really not a very big application, so I wouldn't expect to hit any limits yet.

I'm using wrangler to upload the build, and that doesn't report any issues
wrangler pages deploy .vercel/output/static


  • app-1o5.pages.dev
  • Deployment ID: e54092bb-4dba-4972-973d-0fcf32d0c750
Was this page helpful?