Verify latest release
pnpm version
10.0.0
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI, Package manager compatibility, Operating System (Windows, MacOS, Linux)
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
- install pnpm v10 with chocolatey
- set
"packageManager": "[email protected]",
- run
pnpm i
- see error
Describe the Bug
Folder C:\Users\<user>\AppData\Local\pnpm\.tools\@pnpm+win-x64\9.15.4 is created with an empty package.json, so it can't run the desired pnpm version from project.
workaround is to downgrade packageManager to v9.15.3 at project.
Expected Behavior
it should simply work and run pnpm v9.15.4.
Which Node.js version are you using?
v22.11.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
Verify latest release
pnpm version
10.0.0
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI, Package manager compatibility, Operating System (Windows, MacOS, Linux)
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
"packageManager": "[email protected]",pnpm iDescribe the Bug
Folder
C:\Users\<user>\AppData\Local\pnpm\.tools\@pnpm+win-x64\9.15.4is created with an emptypackage.json, so it can't run the desired pnpm version from project.workaround is to downgrade
packageManagerto v9.15.3 at project.Expected Behavior
it should simply work and run pnpm v9.15.4.
Which Node.js version are you using?
v22.11.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