Magnum🅱
Magnum🅱
CDCloudflare Developers
Created by Magnum🅱 on 10/1/2024 in #pages-help
Deployment failed! Got error: Your Worker exceeded the size limit of 1 MiB
Why do I get this "Worker" error when deploying my Pages project, even though my entire build output is 428 KiB (20 KiB larger than the Remix template I started with)?
[ERROR] Deployment failed!

Failed to publish your Function. Got error: Your Worker exceeded the size limit of 1 MiB. Refer to
the Workers documentation
(https://developers.cloudflare.com/workers/observability/errors/#errors-on-worker-upload) for more
details.
[ERROR] Deployment failed!

Failed to publish your Function. Got error: Your Worker exceeded the size limit of 1 MiB. Refer to
the Workers documentation
(https://developers.cloudflare.com/workers/observability/errors/#errors-on-worker-upload) for more
details.
6 replies