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:
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
- app-1o5.pages.dev
- Deployment ID: e54092bb-4dba-4972-973d-0fcf32d0c750
4 Replies
I'm not sure why wrangler isn't telling you an error, but the error is your Functions/script is too large for Workers
Okay, thanks! So I would need to upgrade to Workers Paid, correct?
That's right!
it is possible i had same problem?
https://discord.com/channels/595317990191398933/1178178738228314132