You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I deleted npm and npm.cmd from nodejs/, and even though C:\Users\<username>\AppData\Roaming\npm is still listed in the path and npm config get prefix -g did return C:\Users\<username>\AppData\Roaming\npm, windows won't recognize npm as a command anymore.
(it turns out this folder is empty, I should have checked myself but I trusted the docs)
Expected Behavior
I think the doc should include a warning about this method being dangerous or just be clearer about who can apply it, because evidently I wasn't one of them.
The text was updated successfully, but these errors were encountered:
What / Why
Option 2 of "upgrade npm on windows" made windows not recognize npm as a command
https://docs.npmjs.com/try-the-latest-stable-version-of-npm
How
I deleted npm and npm.cmd from nodejs/, and even though
C:\Users\<username>\AppData\Roaming\npm
is still listed in the path andnpm config get prefix -g
did returnC:\Users\<username>\AppData\Roaming\npm
, windows won't recognize npm as a command anymore.(it turns out this folder is empty, I should have checked myself but I trusted the docs)
Expected Behavior
I think the doc should include a warning about this method being dangerous or just be clearer about who can apply it, because evidently I wasn't one of them.
The text was updated successfully, but these errors were encountered: