winget upgrade pnpm
will remove the PATH FROM user env path, and won't added the new PATH to user env path again.
#8077
Labels
Verify latest release
pnpm version
any version
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
No response
Reproduction steps
Describe the Bug
While using
winget upgrade pnpm
to upgrade pnpm, the newest version will install successful, but it will remove the PATH FROM user env path, and won't added the new PATH to user env path again.So the
pnpm
command will not find.Expected Behavior
Added the new PATH to user env path.
Which Node.js version are you using?
any
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: