cloudflare / cloudflare/workerd

Unable to deploy static website because a .git/.pack file is larger than 25MB limit

Open
#4,336 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
8.7k
Forks
739
Avg merge
2d 20h
Merged PRs (30d)
174

Description

2025-06-15T12:43:45.999Z Initializing build environment...
2025-06-15T12:43:53.767Z Success: Finished initializing build environment
2025-06-15T12:43:53.913Z Cloning repository...
2025-06-15T12:44:00.139Z Detected the following tools from environment:
2025-06-15T12:44:00.143Z Executing user deploy command: npx wrangler deploy
2025-06-15T12:44:02.693Z npm warn exec The following package was not found and will be installed: wrangler@4.20.0
2025-06-15T12:44:13.770Z
2025-06-15T12:44:13.771Z ⛅️ wrangler 4.20.0
2025-06-15T12:44:13.771Z ───────────────────
2025-06-15T12:44:14.752Z 🌀 Building list of assets...
2025-06-15T12:44:14.857Z ✨ Read 1817 files from the assets directory /opt/buildhome/repo
2025-06-15T12:44:15.544Z
2025-06-15T12:44:15.663Z ✘ [ERROR] Asset too large.
2025-06-15T12:44:15.663Z
2025-06-15T12:44:15.664Z Cloudflare Workers supports assets with sizes of up to 25 MiB. We found a file /opt/buildhome/repo/.git/objects/pack/pack-3c1a558dc04674a5d17fca71ed26c270a763e814.pack with a size of 57.7 MiB.
2025-06-15T12:44:15.664Z Ensure all assets in your assets directory "/opt/buildhome/repo" conform with the Workers maximum size requirement.
2025-06-15T12:44:15.664Z
2025-06-15T12:44:15.665Z
2025-06-15T12:44:15.665Z
2025-06-15T12:44:15.665Z Cloudflare collects anonymous telemetry about your usage of Wrangler. Learn more at https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/telemetry.md
2025-06-15T12:44:15.711Z 🪵 Logs were written to "/opt/buildhome/.config/.wrangler/logs/wrangler-2025-06-15_12-44-12_511.log"
2025-06-15T12:44:15.862Z Failed: error occurred while running deploy command
2025-06-15T12:43:45.999Z Initializing build environment...
2025-06-15T12:43:53.767Z Success: Finished initializing build environment
2025-06-15T12:43:53.913Z Cloning repository...
2025-06-15T12:44:00.139Z Detected the following tools from environment:
2025-06-15T12:44:00.143Z Executing user deploy command: npx wrangler deploy
2025-06-15T12:44:02.693Z npm warn exec The following package was not found and will be installed: wrangler@4.20.0
2025-06-15T12:44:13.770Z
2025-06-15T12:44:13.771Z ⛅️ wrangler 4.20.0
2025-06-15T12:44:13.771Z ───────────────────
2025-06-15T12:44:14.752Z 🌀 Building list of assets...
2025-06-15T12:44:14.857Z ✨ Read 1817 files from the assets directory /opt/buildhome/repo
2025-06-15T12:44:15.544Z
2025-06-15T12:44:15.663Z ✘ [ERROR] Asset too large.
2025-06-15T12:44:15.663Z
2025-06-15T12:44:15.664Z Cloudflare Workers supports assets with sizes of up to 25 MiB. We found a file /opt/buildhome/repo/.git/objects/pack/pack-3c1a558dc04674a5d17fca71ed26c270a763e814.pack with a size of 57.7 MiB.
2025-06-15T12:44:15.664Z Ensure all assets in your assets directory "/opt/buildhome/repo" conform with the Workers maximum size requirement.
2025-06-15T12:44:15.664Z
2025-06-15T12:44:15.665Z
2025-06-15T12:44:15.665Z
2025-06-15T12:44:15.665Z Cloudflare collects anonymous telemetry about your usage of Wrangler. Learn more at https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/telemetry.md
2025-06-15T12:44:15.711Z 🪵 Logs were written to "/opt/buildhome/.config/.wrangler/logs/wrangler-2025-06-15_12-44-12_511.log"
2025-06-15T12:44:15.862Z Failed: error occurred while running deploy command

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.