qiu8310 / smart-npm

Auto switch registry according your npm command.
328 stars 31 forks source link

升级 npm后 snpm -v 显示的npm版本是老的 #71

Closed xiaolongyuan closed 7 years ago

qiu8310 commented 7 years ago

snpm 使用的是自带的 npm,不是你系统的,你可以删除 snpm,再重新安装下 snpm,就会把 snpm 内部的 npm 升级到最新版了

qiu8310 commented 7 years ago

更新了一个版本,你可以使用 snpm install-npm 来更新 snpm 内部使用的 npm

你需要升级下你本地的 smart-npm 即可 npm up -g smart-npm

xiaolongyuan commented 7 years ago

最新 npm 5.2.0 啊