Error: Pages only supports files up to 26.2 MB in ...
# pages-help
a
D. id: 890f0335-49d2-488c-807c-daaf82443d24 account. id: fde13d91dce361f5bbc45117c97532b7 I am trying to deploy a react app on cloudflare pages but i get this error: Error: Pages only supports files up to 26.2 MB in size can someone help me?
05:10:11.510 ✘ [ERROR] Error: Pages only supports files up to 26.2 MB in size 05:10:11.510 05:10:11.510 static/js/main.9124d3d7.js.map is 28.1 MB in size 05:10:11.511 05:10:11.511 05:10:11.511 If you think this is a bug then please create an issue at https://github.com/cloudflare/workers-sdk/issues/new/choose 05:10:11.523 Failed: upload process exited with code: 1 05:10:12.496 Failed: an internal error occurred 05:10:12.496 Error: Failed to publish assets. For support, join our Discord (https://discord.gg/cloudflaredev) or create a ticket and reference the deployment ID: 890f0335-49d2-488c-807c-daaf82443d24
d
👋 Hi, the limit you’re hitting is a hard limit of the storage db Pages is using. I see the file that is going over that is a source map, so you could remove it from the upload folder and everything should work just fine.
a
thank you!
do you know where i can find the upload folder?
d
it should be in the
dist
folder, but you can run
npx astro build
locally to see what folder it creates for you