首先获取
npm get registry
先存起来,省着你可能之前配置的不知道是啥了
然后换成你想要的库
npm set registry 你想换的库的地址
例:npm set registry https://registry.npm.taobao.org/
这里面的例子换成淘宝的源地址