staticmedia
staticmedia
CDCloudflare Developers
Created by IEatBeans on 5/6/2024 in #pages-help
failed deployment with no details
It seems the wrangler GitHub action doesn't see errors beyond a certain stage of deployment. This particular error shows up at the "deploying to cloudflare global network" stage, which happens right at the end of deployment
18 replies
CDCloudflare Developers
Created by IEatBeans on 5/6/2024 in #pages-help
failed deployment with no details
I switched back to using GitHub action afterwards
18 replies
CDCloudflare Developers
Created by IEatBeans on 5/6/2024 in #pages-help
failed deployment with no details
Gotcha. My suggestion wasn't a permanent change but purely to get more error output.
18 replies
CDCloudflare Developers
Created by IEatBeans on 5/6/2024 in #pages-help
failed deployment with no details
Here is the full output it gave me:
09:12:59.892 ✨ Compiled Worker successfully
09:13:00.100 Found _routes.json in output directory. Uploading.
09:13:00.114 Validating asset output directory
09:13:01.179 Deploying your site to Cloudflare's global network...
09:13:05.739 Uploading... (0/90)
09:13:06.794 Uploading... (30/90)
09:13:07.019 Uploading... (60/90)
09:13:07.483 Uploading... (90/90)
09:13:07.483 ✨ Success! Uploaded 90 files (2.20 sec)
09:13:07.483
09:13:07.769 ✨ Upload complete!
09:13:10.884 Success: Assets published!
09:13:15.046 Error: Failed to publish your Function. Got error: Your Functions script is over the 1 MiB size limit (workers.api.error.script_too_large)
09:12:59.892 ✨ Compiled Worker successfully
09:13:00.100 Found _routes.json in output directory. Uploading.
09:13:00.114 Validating asset output directory
09:13:01.179 Deploying your site to Cloudflare's global network...
09:13:05.739 Uploading... (0/90)
09:13:06.794 Uploading... (30/90)
09:13:07.019 Uploading... (60/90)
09:13:07.483 Uploading... (90/90)
09:13:07.483 ✨ Success! Uploaded 90 files (2.20 sec)
09:13:07.483
09:13:07.769 ✨ Upload complete!
09:13:10.884 Success: Assets published!
09:13:15.046 Error: Failed to publish your Function. Got error: Your Functions script is over the 1 MiB size limit (workers.api.error.script_too_large)
18 replies
CDCloudflare Developers
Created by IEatBeans on 5/6/2024 in #pages-help
failed deployment with no details
Not sure if this is helpful or not. I was using wrangler-action GHA to deploy to cloudflare and it wasn't giving any errors. So I tried connecting my git repo directly in cloudflare to deploy via cloudflare (instead of using GHA and wrangler-action). There, it told me that it couldn't deploy to cloudflare's global network because 'Your Functions script is over the 1 MiB'.
18 replies