-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Npm is not being updated with node on windows 10 #31056
Comments
Is there a good reason it is designed like this? Why can't it just be stored in one place, instead of branching out when you try to update |
Yes, this happens because You can easily fix this by running |
I'm going to close this, but feel free to comment or re-open if the issue/question here hasn't been adequately addressed. |
@joaocgreis thanks for the explanation, it makes sense to me now |
For me following didn't worked: But following worked: |
Problem:
Npm is not being updated when you update node on windows 10.
Most likely because I once ran
npm -g install npm@<version>
which installs a separatenpm
on Windows.Reproduction:
node-v13.5.0-x64.msi
.3.5.0
and npm to6.13.4
npm
is still6.11.2
(checked by runningnpm -v
)Running command:
npm
gives me the following:The text was updated successfully, but these errors were encountered: