Verify latest release
pnpm version
No response
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
I'm trying to globally install pm2, but it will not work. I'm getting an error that "The configured global bin directory "C:\Users\noahy\AppData\Local\pnpm" is not in PATH", even though it very clearly is right here:
In the photo, you can see my PNPM_HOME variable and the exact same path that the error is saying is NOT in the path.
All I did was run npm install -g pnpm and then pnpm setup and this is where I am currently
Describe the Bug
The bug is that I am trying to install a global package and it won't let me due to an error that I can't really diagnose as it's basically wrong.
Expected Behavior
I expected the package to install globally to my system so I could use it.
I used a new terminal and even restarted my computer after running pnpm setup but it still did not work.
Which Node.js version are you using?
22.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
No response
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
I'm trying to globally install pm2, but it will not work. I'm getting an error that "The configured global bin directory "C:\Users\noahy\AppData\Local\pnpm" is not in PATH", even though it very clearly is right here:
In the photo, you can see my PNPM_HOME variable and the exact same path that the error is saying is NOT in the path.
All I did was run npm install -g pnpm and then pnpm setup and this is where I am currently
Describe the Bug
The bug is that I am trying to install a global package and it won't let me due to an error that I can't really diagnose as it's basically wrong.
Expected Behavior
I expected the package to install globally to my system so I could use it.
I used a new terminal and even restarted my computer after running pnpm setup but it still did not work.
Which Node.js version are you using?
22.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