felixrieseberg / npm-windows-upgrade

:rocket: Upgrade npm on Windows
MIT License
2.53k stars 149 forks source link

Failed to upgrade from 5.6.0 to 6.4.1 #130

Open daghb opened 6 years ago

daghb commented 6 years ago

Windows 2016 Server Core install

npm-windows-upgrade v5.0.0
Checked system for npm installation:
According to PowerShell: C:\nodejs\node-v8.11.4-win-x64
According to npm:        C:\nodejs\node-v8.11.4-win-x64
Decided that npm is installed in C:\nodejs\node-v8.11.4-win-x64
Upgrading npm... \

Upgrading npm (fallback method)... |

You wanted to install npm 6.4.1, but the installed version is 5.6.0.

A common reason is an attempted "npm install npm" or "npm upgrade npm". As of today, the only solution is to completely uninstall and then reinstall Node.js. For a small tutorial, please see https://github.com/felixrieseberg/npm-windows-upgrade#usage.

Please consider reporting your trouble to https://aka.ms/npm-issues.

Debug Information:

http_parser: 2.8.0 | node: 8.11.4 | v8: 6.2.414.54 | uv: 1.19.1 | zlib: 1.2.11 | ares: 1.10.1-DEV | modules: 57 | nghttp2: 1.32.0 | napi: 3 | openssl: 1.0.2p | icu: 60.1 | unicode: 10.0 | cldr: 32.0 | tz: 2017c | os: win32 x64 | OS Name: Microsoft Windows Server 2016 Datacenter
OS Version: 10.0.14393 N/A Build 14393