You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Bug Description
I am trying to setup a zapier app within a pnpm workspace monorepo with:
when I now run
zapier build --skip-npm-install
, it fails atCopying project to temp directory
due tooEMFILE: 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
The text was updated successfully, but these errors were encountered: