Skip to content

"EMFILE: too many open files" error at end of PNPM install in large monorepo #5887

Description

@iclanton

pnpm version:

7.16.1

Code to reproduce the issue:

N/A

Expected behavior:

Installation succeeds

Actual behavior:

Running "pnpm install" in <PATH>

Scope: all 810 workspace projects
Lockfile is up to date, resolution step is skipped
.                                        |    +7174 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Packages are hard linked from the content-addressable store to the virtual store.
  Content-addressable store is at: <PATH>\pnpm-store\v3
  Virtual store is at:             node_modules/.pnpm
Progress: resolved 7174, reused 6893, downloaded 0, added 7174, done
 EMFILE  EMFILE: too many open files, open '<PATH>\node_modules\.pnpm\@rushstack+heft@0.48.8\node_modules\@rushstack\heft\bin\heft'

pnpm: EMFILE: too many open files, open '<PATH>\node_modules\.pnpm\@rushstack+heft@0.48.8\node_modules\@rushstack\heft\bin\heft'

This is the same issue as #3378

Additional information:

  • node -v prints: 14.19.1
  • Windows, macOS, or Linux?: Windows

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions