Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Too many open files in pnpm workspace #820

Open
psteinroe opened this issue Jul 16, 2024 · 0 comments
Open

[Bug]: Too many open files in pnpm workspace #820

psteinroe opened this issue Jul 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@psteinroe
Copy link

Bug Description

I am trying to setup a zapier app within a pnpm workspace monorepo with:

  • tsconfig + tsc within _zapier-build step
  • commonjs

when I now run zapier build --skip-npm-install, it fails at Copying project to temp directory due too EMFILE: too many open files.

I did some debugging and it seems like the zapier cli is copying all node modules into the temp directory... It "works" if I change the map of promises in copyDir to a for loop to process the dirs one by one, but this takes a long time and includes a lot of unused dependencies. The cli must only include the dependencies of that workspace.

Reproduction Steps

see above

Zapier Platform version

15.10.0

Node.js version

20.3.0

Your Operating System

OS info: darwin-arm64 (macOS)

npm/yarn version

No response

App ID

No response

More Details

No response

@psteinroe psteinroe added the bug Something isn't working label Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant