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
v9 run -r
runs in wrong order
#7997
Comments
+1, I have the same bug in one of my workspaces, worked perfectly with the last pnpm 8.15.7. |
Hi! in the {
"dependencies": {
"@nighttrax/foo": "workspace:~1.0.0"
}
} With this change, in my side the command runs correctly (it has an error in a nextjs app, but does not seem related to pnpm). Thanks in advance! EDIT: |
@nachoaldamav thanks for spotting that, I guess it's just a relic from the beginning of the repo. Using the Regarding the The use case from https://pnpm.io/workspaces fits my repo:
However, that only mentions linking, which seems to still work correctly in v9. Since using Edit: hmm, setting |
@nachoaldamav Thanks for this, adjusting this option works for me 👍 I cannot switch (yet) to |
Last pnpm version that worked
8.15.7
pnpm version
9.0.5
Code to reproduce the issue
pnpm install
pnpm run -r build
Expected behavior
All packages build in the correct topological order.
Actual behavior
packages/foo
andpackages/bar
build in parallel. Sincebar
depends onfoo
it will fail to build.Additional information
v8 run, foo builds first, then bar and others
v9 run, foo and bar build in parallel
Node.js version
20.11.0
Operating System
macOS
The text was updated successfully, but these errors were encountered: