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
rush build changed project diff between branch crash with ENOBUFS
Repro steps
With a large pnpm.lock file in monorepo
updata deps that make lock file changed
git commit changes
execute rush build --to git:origin/master
Expected result: Just build success
Actual result: Error: spawnSync /bin/sh ENOBUFS
at Object.spawnSync (internal/child_process.js:1077:20)
at Object.spawnSync (child_process.js:776:24)
at Function._executeCommandInternal (/Users/XXX/.pnpm/global-modules/5/node_modules/.pnpm/@[email protected]/node_modules/@microsoft/rush-lib/lib/utilities/Utilities.js:546:36)
at Function.executeCommandAndCaptureOutput (/Users/XXX/.pnpm/global-modules/5/node_modules/.pnpm/@[email protected]/node_modules/@microsoft/rush-lib/lib/utilities/Utilities.js:199:34)
at Git._executeGitCommandAndCaptureOutput (/Users/XXX/.pnpm/global-modules/5/node_modules/.pnpm/@[email protected]/node_modules/@microsoft/rush-lib/lib/logic/Git.js:465:42)
at Git.getBlobContent (/Users/XXX/.pnpm/global-modules/5/node_modules/.pnpm/@[email protected]/node_modules/@microsoft/rush-lib/lib/logic/Git.js:219:29)
at ProjectChangeAnalyzer.getChangedProjectsAsync (/Users/XXX/.pnpm/global-modules/5/node_modules/.pnpm/@[email protected]/node_modules/@microsoft/rush-lib/lib/logic/ProjectChangeAnalyzer.js:169:57)
at GitChangedProjectSelectorParser.evaluateSelectorAsync (/Users/XXX/.pnpm/global-modules/5/node_modules/.pnpm/@[email protected]/node_modules/@microsoft/rush-lib/lib/logic/selectors/GitChangedProjectSelectorParser.js:13:44)
at SelectionParameterSet._evaluateProjectParameterAsync (/Users/XXX/.pnpm/global-modules/5/node_modules/.pnpm/@[email protected]/node_modules/@microsoft/rush-lib/lib/cli/SelectionParameterSet.js:276:49)
at /Users/XXX/.pnpm/global-modules/5/node_modules/.pnpm/@[email protected]/node_modules/@microsoft/rush-lib/lib/cli/SelectionParameterSet.js:166:25
Details
Standard questions
Please answer these questions to help us investigate your issue more quickly:
Question
Answer
@microsoft/rush globally installed version?
5.58.0
rushVersion from rush.json?
5.58.0
useWorkspaces from rush.json?
true
Operating system?
Mac and Linux
Would you consider contributing a PR?
Maybe yes
Node.js version (node -v)?
v14.18.1
The text was updated successfully, but these errors were encountered:
Summary
rush build
changed project diff between branch crash with ENOBUFSRepro steps
pnpm.lock
file in monoreporush build --to git:origin/master
Expected result: Just build success
Actual result: Error: spawnSync /bin/sh ENOBUFS
Details
Standard questions
Please answer these questions to help us investigate your issue more quickly:
@microsoft/rush
globally installed version?rushVersion
from rush.json?useWorkspaces
from rush.json?node -v
)?The text was updated successfully, but these errors were encountered: