I cannot deploy remix cloudflare when

I cannot deploy remix cloudflare when adding @react-email/components. Using Remix Cloudflare Pages with Vite. https://developers.cloudflare.com/pages/framework-guides/deploy-a-remix-site/. I keep getting error
šŸŒŽ Deploying...
āœ˜ [ERROR] Deployment failed!
Failed to publish your Function. Got error: Error: Script startup exceeded CPU time limit.
šŸŒŽ Deploying...
āœ˜ [ERROR] Deployment failed!
Failed to publish your Function. Got error: Error: Script startup exceeded CPU time limit.
Any idea how to fix it?
2 Replies
kr3w
kr3wOPā€¢6mo ago
Im also getting error
āœ˜ [ERROR] Deployment failed!

Failed to publish your Function. Got error: Your Functions script is over the 1 MiB size limit (workers.api.error.script_too_large)
āœ˜ [ERROR] Deployment failed!

Failed to publish your Function. Got error: Your Functions script is over the 1 MiB size limit (workers.api.error.script_too_large)
Both using Remix Cloudflare Vite, different projects. When I upgraded to Vite, I had this problem. I did not have any of this issue for remix projects without vite.
Nob
Nobā€¢6mo ago
you need to buy pages plan to get over this limit
Want results from more Discord servers?
Add your server