#Cloudflare Pages Deployment failed

8 messages · Page 1 of 1 (latest)

reef linden
#

"pages:build": "npx @primal dawn/next-on-pages",
"deploy": "npm run pages:build && wrangler pages deploy .vercel/output/static",

command: npm run deploy

My total build size is 33 MB

Getting this error ✘ [ERROR] A request to the Cloudflare API (/accounts/4560521b37ec36cdd602aa2527f0dfea/pages/projects/benefaster-saas-frontend/deployments) failed. Your Function exceeded the uncompressed size limit of 25 MiB. Refer to the Workers documentation (https://developers.cloudflare.com/workers/platform/limits/#worker-size) for more details. [code: 8000101] If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose

GitHub

GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.

Cloudflare Docs

Cloudflare Workers plan and platform limits.

reef linden
#

@night dawn Can you help me in this ?

#

Cloudflare Pages Deployment failed

night dawn
#

From the error it looks like your function exceeds 25mMiB (33)

reef linden
tawny flume
#

Use less space??

reef linden
tawny flume
#

!!