Deploy failed in the cloudflare dashboard, but success in the cli.

The deployment id is: e359de58-8dc9-4deb-86d7-91de59e85324 , you could try this branch https://github.com/iflamed/hono-react-ssr-shadcn-ui/tree/prisma-debug to deploy it by self.
GitHub
GitHub - iflamed/hono-react-ssr-shadcn-ui at prisma-debug
Template code for Honojs with React SSR and Shadcn-UI which running on Cloudflare Pages. - GitHub - iflamed/hono-react-ssr-shadcn-ui at prisma-debug
4 Replies
Nolan
Nolan8mo ago
Hey there! It looks like we've got a edge_deployment_failed error with the following output.
deploy_worker_failed:Your Functions script is over the 1 MiB size limit (workers.api.error.script_too_large)
deploy_worker_failed:Your Functions script is over the 1 MiB size limit (workers.api.error.script_too_large)
Newbing
NewbingOP8mo ago
Is it possiable to make script size limit more larger? I use prisma orm, it may be result large script file?
Cyb3r-Jak3
Cyb3r-Jak38mo ago
Workers Paid plan has a size of 10 MB after compression.
Newbing
NewbingOP8mo ago
Thanks, I should not try prisma client. Finally, I switched to drizzle-orm. Prisma use wasm underway which is too big for cloudflare pages. For free user of cloudflare, there a 1MB size limit for each worker script.
Want results from more Discord servers?
Add your server