npm-windows-upgrade
npm-windows-upgrade copied to clipboard
Upgrade appears successful but error reported
PS C:\WINDOWS\system32> npm install -g npm-windows-upgrade C:\Users\oadeboye\AppData\Roaming\npm\npm-windows-upgrade -> C:\Users\oadeboye\AppData\Roaming\npm\node_modules\npm-windows-upgrade\bin\npm-windows-upgrade.js
- [email protected] added 72 packages in 35.295s PS C:\WINDOWS\system32> npm-windows-upgrade -p -v 6.7 npm-windows-upgrade v6.0.1 Checked system for npm installation: According to PowerShell: C:\Program Files\nodejs According to npm: C:\Users\oadeboye\AppData\Roaming\npm Decided that npm is installed in C:\Program Files\nodejs Upgrading npm...
Upgrading npm (fallback method)...
You wanted to install npm 6.7, but the installed version is 6.7.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.3 | 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.2o | icu: 60.1 | unicode: 10.0 | cldr: 32.0 | tz: 2017c | os: win32 x64 | OS Name: Microsoft Windows 10 Enterprise OS Version: 10.0.17134 N/A Build 17134
PS C:\WINDOWS\system32> npm -v 6.7.0
C:\Users\uname>npm -v 5.6.0
C:\Users\uname> C:\Users\uname> C:\Users\uname>npm -v 6.7.0
C:\Users\uname>
I think this is the same issue as this: https://github.com/felixrieseberg/npm-windows-upgrade/issues/136