Pages deployments failing (wrangler deploy)
I'm attempting to deploy to an existing Remix (vite with cf) to Pages. Everything has been smooth until today, when suddenly Cloudflare Pages deployments started to fail, and no message is printed.
I'm using the direct upload method via
wrangler deploy
, and it appears to upload the files but on CF pages the deployment fails.
I've tested the app using wrangler pages dev
and it works fine, any help?7 Replies
Hey, what's the URL or the deployment ID?
?pages-deployment-id
The Pages deployment ID is a unique build identifier.
It's the UUID in the browser bar (for example, a URL would be
dash.cloudflare.com/ACCOUNT_ID/pages/view/PROJECT/DEPLOYMENT_ID
where the deployment ID looks something like a398d794-7322-4c97-96d9-40b5140a8d9b).
This ID can help troubleshoot some issues with Pages builds so if you have a failing build make sure you grab that ID for the Pages team to use.Hi, here is the Deployment ID
63b30b09-e4a4-474e-be70-049d8457fd0d
Ty, let me get someone to check this out
Thanks!
It seems your script is too large, the limits are 1 MB on the free plan and 10 MB on the paid plan
If you're free, you can resolve by upgrading to paid. If you're paid, you're gonna need to reduce your script size
I noticed some packages I added more recently were the cause and I just removed them which reduced the bundle size significantly! My project is now deploying successfully again.
I completely forgot about worker size limits. Also, just curious as to why Cloudflare pages didn't print any errors from my end? Thanks a bunch btw for the speedy help!