pnpm doesn't respect use-node-version
setting for pnpm install
when using pnpm workspace
#6981
Closed
2 of 4 tasks
Labels
Verify latest release
pnpm version
8.6.12
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/antitoxic/pnpm-workspace-use-node-version-bug
Reproduction steps
node
version globally should be16.19.1
but you should have18.15.0
installed as well.pnpm install
Describe the Bug
As the title says, it seems like after using pnpm workspace,
pnpm install
no longer respects theuse-node-version
setting.The same
.npmrc
config works fine when NOT using pnpm workspace.Expected Behavior
I expect running
pnpm install
within a pnpm workspace to respect theuse-node-version
and automatically use the already available node version specified byuse-node-version
Which Node.js version are you using?
18.15.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response
The text was updated successfully, but these errors were encountered: