1 指定版本升级:(亦可升级到最新版,升级版本过低或导致npm无法使用) npm -g install npm@5.6.0【@任意版本】 转载于:https://www.cnblogs.com/autoXingJY/articles/8476722.html