P
Prisma8mo ago
Newbing

Deploy failed in the cloudflare pages dashboard with prisma.

Will you try this branch https://github.com/iflamed/hono-react-ssr-shadcn-ui/tree/prisma-debug , Follow these command below will deploy success in the cli, but failed on the cloudflare dashboard.
npm run install
npx prisma generate
npm run deploy
npm run install
npx prisma generate
npm run deploy
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
Solution:
Finally I switched to drizzle-orm. I was using Prisma, which is too big for cloudflare sites. For free users of cloudflare, there is a 1MB size limit for each worker script.
Jump to solution
1 Reply
Solution
Newbing
Newbing8mo ago
Finally I switched to drizzle-orm. I was using Prisma, which is too big for cloudflare sites. For free users of cloudflare, there is a 1MB size limit for each worker script.
Want results from more Discord servers?
Add your server