We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pnpm
Learn more about funding links in repositories.
Report abuse
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
8.*
CLI
https://github.com/rollup/plugins/actions/runs/6644527027/job/18053872346#step:15:31
To reproduce, attempt to call a workspace root script with an incorrect or nonexistent script name. e.g. pnpm --workspace-root batman:smells
pnpm --workspace-root batman:smells
The CLI will produce an incorrect error message:
ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL Command "--workspace-root" not found
This looks like a holdover from before pnpm moved the order of pnpm-flags and removed the -- for script parameter passing.
--
The CLI should produce a message with the correct erroneous script name:
ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL Command "batman:smellst" not found
20.4.0
Ubuntu
The text was updated successfully, but these errors were encountered:
For a quick fix, use pnpm run -w foo explicitly over pnpm -w foo
pnpm run -w foo
pnpm -w foo
Sorry, something went wrong.
fix(run): stop passing flags as fallback command
818f5d5
Fixes #7244
fix(run): stop passing flags as fallback command (#7370)
1474bfd
close #7244 --------- Co-authored-by: Zoltan Kochan <z@kochan.io>
Thanks @zkochan!
Successfully merging a pull request may close this issue.
Verify latest release
pnpm version
8.*
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
https://github.com/rollup/plugins/actions/runs/6644527027/job/18053872346#step:15:31
Reproduction steps
To reproduce, attempt to call a workspace root script with an incorrect or nonexistent script name. e.g.
pnpm --workspace-root batman:smells
Describe the Bug
The CLI will produce an incorrect error message:
This looks like a holdover from before pnpm moved the order of pnpm-flags and removed the
--
for script parameter passing.Expected Behavior
The CLI should produce a message with the correct erroneous script name:
Which Node.js version are you using?
20.4.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
Ubuntu
The text was updated successfully, but these errors were encountered: