-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Labels
Description
Verify latest release
- I verified that the issue exists in the latest pnpm release
pnpm version
10, 10.8.*, 10.9.0
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
Reproduction steps
rm -rf ./node_modules ./pnpm-lock.yaml
pnpm install
echo "EXIT CODE IS ($?)"
# Prints "EXIT CODE IS (1)".Describe the Bug
Clean PNPM install (without node_modules dir and pnpm-lock file) succeeds but exits with code 1, breaking any pipeline.
Subsequent runs (with node_modules dir and pnpm-lock file) succeeds with exit code 0.
Expected Behavior
When PNPM install succeeds must exit with code 0.
Which Node.js version are you using?
22
Which operating systems have you used?
- macOS
- Windows
- Linux
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response
Reactions are currently unavailable