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 }}
This repository has been archived by the owner on Sep 11, 2021. It is now read-only.
Impossible to update NPM on Windows 2016 server following the described procedure in a PowerShell administrator window :
PS C:\Windows\system32> npm-windows-upgrade --npm-path "C:\nodejs" --no-dns-check
npm-windows-upgrade v6.0.1
? Which version do you want to install? 6.8.0
Given path C:\nodejs is a valid directory.
Upgrading npm... |
Upgrading npm (fallback method)... -
You wanted to install npm 6.8.0, but the installed version is 6.4.1.
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: 10.15.1 | v8: 6.8.275.32-node.12 | uv: 1.23.2 | zlib: 1.2.11 | ares: 1.15.0 | modules: 64 | nghttp2: 1.34.0 | napi: 3 | openssl: 1.1.0j | icu: 62.1 | unicode: 11.0 | cldr: 33.1 | tz: 2018e | os: win32 x64 | OS Name: Microsoft Windows Server 2016 Standard OS Version: 10.0.14393 N/A Build 14393
The text was updated successfully, but these errors were encountered:
NPM successfully updated to 6.8.0 version thanks this batch script : coreybutler/nvm-windows#300 (comment)
To execute into NodeJS install folder (ie. npm.bat script folder)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Impossible to update NPM on Windows 2016 server following the described procedure in a PowerShell administrator window :
The text was updated successfully, but these errors were encountered: