-
Notifications
You must be signed in to change notification settings - Fork 147
Failed to update NPM 5.3 to 5.4 #116
Comments
I am also receiving the same error...
|
I'm having a similar issue on Centos 7.4.1708: It shows the following message:
But, when I run npm -v I get: It never updates... Am I missing something or did do something incorrectly? |
I'm wondering if this is just an issue with npm 🤔 I tried to reproduce the issue on my machine, but couldn't find any trouble - updates worked just fine. Would one of you mind running the script again, but with the environment variable You can do so in PowerShell by running this command right before running npm-windows-upgrade:
|
I think the same problem is here with more information #124 |
FYI: Debug log Upgrading npm (fallback method)... - You wanted to install npm 6.0.0, but the installed version is 1.4.9. 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 http://aka.ms/fix-npm-upgrade. Please consider reporting your trouble to http://aka.ms/npm-issues. Debug Information: http_parser: 2.8.0 | node: 10.1.0 | v8: 6.6.346.27-node.6 | uv: 1.20.2 | zlib: 1.2.11 | ares: 1.14.0 | modules: 64 | nghttp2: 1.29.0 | napi: 3 | openssl: 1.1.0h | icu: 61.1 | unicode: 10.0 | cldr: 33.0 | tz: 2018c | os: win32 x64 | OS Name: Microsoft Windows 10 Pro |
Updated to Node 8 using NVM. (This also installed NPM 5.3.) Then attempted to update NPM to 5.4 using
npm-windows-upgrade
. This fails with the following message:The text was updated successfully, but these errors were encountered: