Skip to content
This repository has been archived by the owner on Sep 11, 2021. It is now read-only.

Upgraded but npm -v still returns old #136

Open
TS22082 opened this issue Dec 15, 2018 · 1 comment
Open

Upgraded but npm -v still returns old #136

TS22082 opened this issue Dec 15, 2018 · 1 comment

Comments

@TS22082
Copy link

TS22082 commented Dec 15, 2018

It seemed to have updated, I got a success message, but when I ran npm -v it still says old version. Any help would be appreciated.


Checked system for npm installation:
According to PowerShell: C;\Program Files\nodejs
According to npm: C;\Users\ts220\AppData\Roaming\npm
Decided npm is installed in C:\Program Files\nodejs
upgrading npm...

Upgrade finished. your new npm version is 6.5.0. Have a nice day!
PS C;\Windows\system32> npm -v
6.4.1
PS C;\Windows\system32>

@rhwilburn
Copy link

I have the same issue. Its because my npm is here: \AppData\Roaming\npm in windows 10. It upgrades the c:/program files/nodejs which isn't the one actually used.

Look at your according to NPM line

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants