-
Notifications
You must be signed in to change notification settings - Fork 275
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 not updating when installing nodejs LTS #1713
Comments
@Gerriko I found this comment in another thread helpful-- I was able to delete two old folders (npm and npm_cache) and then the correct version of npm showed up. Here's the comment that details the location to look: |
@morgan-christopher thanks. I had also contacted the npmjs.com helpdesk and they assured me that the way to update npm, once installed on Windows 10 was to run the following command: npm i -g npm@latest --verbose |
thanks for sharing the info back. closing as resolved. |
Node.js Version: 10.15.0
OS: Windows 10
Scope (install, code, runtime, meta, other?): Process used is unistall nodejs then select my relevant node .msi file for installation
Module (and version) (if relevant): npm
I seem to have a local computer issue, but because it is not clear to me what files are removed when the uninstall routine is used as well as what is happening when I install the LTS version of nodejs I cannot resolve an npm version issue.
Basically, when checking npm version it remains at version 5.4.1.
I have even manually deleted the npm/bin folder and all npm folders I could find in my global node modules folder prior to a node js uninstall and this still does not resolve things.
So somewhere node js is checking for dependencies or something locally on my computer and is only installing npm version 5.4.1 and not the latest version.
How do I fix this?
-->
The text was updated successfully, but these errors were encountered: