Build errors with too many files building in a pnpm monorepo project

How to resolve this error? Can I pass a custom install command with lower concurrency? Using github integration and workers!
4 Replies
ajgeiss0702
ajgeiss07026d ago
Maybe try lowering the workspace concurrency? https://pnpm.io/next/cli/recursive#--workspace-concurrency
pnpm -r, --recursive | pnpm
Aliases: m, multi, recursive, -r
Sam
SamOP6d ago
It happens during the install process I don’t believe you can change the install command in CF workers builds
ajgeiss0702
ajgeiss07025d ago
it looks like you can disable the auto-run command and run a different one yourself: https://developers.cloudflare.com/workers/ci-cd/builds/build-image/#skip-dependency-install
Cloudflare Docs
Build image · Cloudflare Workers docs
Understand the build image used in Workers Builds.
No description
JohnDotAwesome
Hey @Sam we released a change to the build image that should fix your problem. Let me know if it helps

Did you find this page helpful?