mdierker
Explore posts from serversCDCloudflare Developers
•Created by mdierker on 4/16/2024 in #pages-help
Larger bundle size for Workers Paid not applying?
Sample deployment: 21570bb8-d9dc-4359-8804-3bb12b5e4d8b
I'm deploying a Remix app on Cloudflare Functions/Pages using a project created with the Cloudflare CLI. After adding a new library, my application will no longer deploy. (It deploys successfully locally, but silently fails in the Cloudflare console. @Erisa helped me understand that silent failures mean the bundle size exceeds the free limits.)
I couldn't figure out lowering the bundle size, so I gave in and upgraded to Workers Paid for the 10 MB deployment limit... but deploys are still failing silently.
npx wrangler pages functions build
locally produces a 5.7 MB file, which should be well under the 10MB limit. Any tips?6 replies
CDCloudflare Developers
•Created by mdierker on 9/7/2023 in #pages-help
Can't deploy a TypeScript app: tsc not found
Hello! I have a simple Vite (React + Typescript) app I'm trying to deploy on Cloudflare Pages. I have my git repo hooked up, but when I push, the dependencies all install correctly, it correctly runs
npm run build
, and I then get sh: 1: tsc: not found
.7 replies