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•11mo 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•11mo ago
you need to buy pages plan to get over this limit

Did you find this page helpful?