1 查看和更改registry
查看npm模块获取地址registry
npm config get registry
更改registry
npm config set registry https://registry.npm.taobao.org
我使用的地址:https://registry.npmmirror.com
查看npm模块获取地址registry
npm config get registry
更改registry
npm config set registry https://registry.npm.taobao.org
我使用的地址:https://registry.npmmirror.com