ENOSPC: no space left on device when build

I'm following to OpenNext docs: opennext.js.org/cloudflare/get-started and build NextJS latest with workers then happen this error:
No description
2 Replies
Chaika
Chaika2mo ago
Workers CI/CD has a documented limit of 8 GB Disk space: https://developers.cloudflare.com/workers/ci-cd/builds/limits-and-pricing/ Sounds like you might be overrunning that
Cloudflare Docs
Limits & pricing · Cloudflare Workers docs
Limits & pricing for Workers Builds
Vlady
Vlady2w ago
Getting the same error in my build
20:59:52.210 ➤ YN0001: │ Error: While cloning /opt/buildhome/repo/node_modules/hosted-git-info/node_modules/lru-cache -> /opt/buildhome/repo/node_modules/@npmcli/git/node_modules/lru-cache ENOSPC: no space left on device, copyfile '/opt/buildhome/repo/node_modules/hosted-git-info/node_modules/lru-cache/LICENSE' -> '/opt/buildhome/repo/node_modules/@npmcli/git/node_modules/lru-cache/LICENSE'
20:59:52.212 ➤ YN0000: └ Completed in 24s 388ms
20:59:52.212 ➤ YN0000: · Failed with errors in 54s 341ms
20:59:52.804 Failed: error occurred while installing tools or dependencies
20:59:52.210 ➤ YN0001: │ Error: While cloning /opt/buildhome/repo/node_modules/hosted-git-info/node_modules/lru-cache -> /opt/buildhome/repo/node_modules/@npmcli/git/node_modules/lru-cache ENOSPC: no space left on device, copyfile '/opt/buildhome/repo/node_modules/hosted-git-info/node_modules/lru-cache/LICENSE' -> '/opt/buildhome/repo/node_modules/@npmcli/git/node_modules/lru-cache/LICENSE'
20:59:52.212 ➤ YN0000: └ Completed in 24s 388ms
20:59:52.212 ➤ YN0000: · Failed with errors in 54s 341ms
20:59:52.804 Failed: error occurred while installing tools or dependencies
Makes me want to make a black hole joke here, but why is the limit on the paid plan only 8GB?

Did you find this page helpful?