npm config get registry 检查淘宝镜像是否存在存在: 若不存在 npm config set registry http://registry.npm.taobao.org/ 回车直接设置成功,重新打开即可使用