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
{{ message }}
Repository navigation
Windows Latest LTS Version: 14.17.0 .msi installer does not clear/ upgrade existing npm version #38940
I had node v12 and npm v6.9.2 & wanted to upgrade node to v14.
I tried 2 options:
just ran the installer and hoping it would upgrade the npm, didn't work
uninstalled node and hoping it's fresh installation for node v14 with npm v6.14.x, didn't work
output:
npm version was still v6.9.2 which didn't support node v14 and asked to run npm rebuild something
googled and found not working solution which is run npm install -g npm
both have deadlock output, current npm doesn't support node v14 hence can't run both commands
what I had to do manually for fresh installation:
uninstall previous node.js
go to C:\Users\Username\AppData\Roaming and delete manually npm & npm-cache folder
changed the title [-]Windows Latest LTS Version: 14.17.0 .msi installer and maybe other installers does not clear/ upgrade existing npm version[/-][+]Windows Latest LTS Version: 14.17.0 .msi installer does not clear/ upgrade existing npm version[/+]on Jun 5, 2021
Activity
[-]Windows Latest LTS Version: 14.17.0 .msi installer and maybe other installers does not clear/ upgrade existing npm version[/-][+]Windows Latest LTS Version: 14.17.0 .msi installer does not clear/ upgrade existing npm version[/+]Trott commentedon Jun 5, 2021
@nodejs/build @nodejs/platform-windows
Sti2nd commentedon Jul 14, 2021
Got the same error
The npm package
npm-windows-upgradedescribed in this Stack Overflow post worked for me.StefanStojanovic commentedon Apr 25, 2025
Closing this issue since it's targeting long-deprecated versions of Node and npm. If needed, please reopen.