Skip to content

Commit 9197c49

Browse files
committed
Size limit troubleshooting
1 parent 12c38b7 commit 9197c49

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pages/cloudflare/troubleshooting.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ import { Callout } from 'nextra/components';
33

44
## Troubleshooting
55

6+
### "Your Worker exceeded the size limit of 1 MiB"
7+
8+
The Cloudflare Account you are deploying to is on the Workers Free plan, which [limits the size of each Worker to 1 MiB](https://developers.cloudflare.com/workers/platform/limits/#worker-size). When you subscribe to the Workers Paid plan, each Worker can be up to 10 MiB.
9+
610
### My app fails to build when I import a specific NPM package
711

812
First, make sure that the `nodejs_compat` compatibility flag is enabled, and your compatibility date is set to on or after "2024-09-23", in your `wrangler.toml` file. [Refer to the Workers docs](https://developers.cloudflare.com/workers/runtime-apis/nodejs/) for more details on Node.js support in Cloudflare Workers.

0 commit comments

Comments
 (0)