安装nodejs后npm会一起安装,里面的npm可能不是最新版本,要升级这个npm怎么做呢?
Hi, 你好。我之前也遇到过这个问题,使用 npm install npm 即可安装最新版,
一直卡着不动
The new best way to upgrade NPM on Windows:
https://github.com/felixriese...
Run PowerShell as Administrator
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force //这句上面说的 ,改变权限
npm install -g npm-windows-upgrade
npm-windows-upgrade
PowerShell 可以搜搜怎么安装 ,应该是gwin按照后带的
npm install npm -g
详见官方:https://docs.npmjs.com/gettin...