改为淘宝镜像源
npm config set registry http://registry.npmmirror.com
修改为官方地址
npm config set registry https://registry.npmjs.org
查看当前镜像源地址
npm config get registry
改为淘宝镜像源
npm config set registry http://registry.npmmirror.com
修改为官方地址
npm config set registry https://registry.npmjs.org
查看当前镜像源地址
npm config get registry