终端中:
设置为淘宝镜像
npm config set registry https://registry.npm.taobao.org
查看当前源
npm config get registry
设置为国外的源
npm config set registry https://registry.npmjs.org/
终端中:
设置为淘宝镜像
npm config set registry https://registry.npm.taobao.org
查看当前源
npm config get registry
设置为国外的源
npm config set registry https://registry.npmjs.org/