felixrieseberg/npm-windows-upgrade

Failed upgrade 6.2.0 to 6.4.0 on Node 10.9.0 that was installed with NVM on Windows 7

fipda opened this issue · 0 comments

fipda commented

PS C:\Windows\system32> Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
PS C:\Windows\system32> npm-windows-upgrade
npm-windows-upgrade v5.0.0
? Which version do you want to install? 6.4.0
Checked system for npm installation:
According to PowerShell: C:\Program Files\nodejs
According to npm: C:\Program Files\nodejs
Decided that npm is installed in C:\Program Files\nodejs
Upgrading npm... \

Upgrading npm (fallback method)... -

You wanted to install npm 6.4.0, but the installed version is 6.2.0.

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

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

Debug Information:

http_parser: 2.8.0 | node: 10.9.0 | v8: 6.8.275.24-node.14 | uv: 1.22.0 | zlib: 1.2.11 | ares: 1.14.0 | modules: 64 |
http2: 1.32.0 | napi: 3 | openssl: 1.1.0i | icu: 62.1 | unicode: 11.0 | cldr: 33.1 | tz: 2018e | os: win32 x64 | OS Na
: Microsoft Windows 7 Professional
OS Version: 6.1.7601 Service Pack 1 Build 7601