Search
Setup for Free
CD
Cloudflare Developers
•
10mo ago
Sam
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
!
message.txt
15.07KB
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
83,465
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
A
ajgeiss0702
•
3/3/25, 6:04 PM
Maybe try lowering the workspace concurrency
?
https://pnpm.io/next/cli/recursive#--workspace-concurrency
pnpm -r, --recursive | pnpm
Aliases
: m
, multi
, recursive
,
-r
S
Sam
OP
•
3/4/25, 1:02 AM
It happens during the install process I don
’t believe you can change the install command in CF workers builds
A
ajgeiss0702
•
3/4/25, 3:51 PM
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
.
J
JohnDotAwesome
•
3/7/25, 3:07 PM
Hey
@Sam we released a change to the build image that
should fix
your problem
. Let me know if it helps
S
Sam
OP
•
3/15/25, 9:59 AM
@JohnDotAwesome hey things are working now
! Although I rearchitected my PNPM setup a bit also so can
’t attribute it with 100
% certainty but just can let you know things have been going smoothly
!
Similar Threads
pnpm: EMFILE: too many open files
CD
Cloudflare Developers / workers-and-pages-help
9mo ago
Build error: too many open files
CD
Cloudflare Developers / workers-and-pages-help
8mo ago
`EMFILE: too many open files` during build
CD
Cloudflare Developers / workers-and-pages-help
7mo ago
Deploying project w/ pnpm workspace monorepo
CD
Cloudflare Developers / pages-help
3y ago