2.设置淘宝镜像 1.如果习惯了npm,设置淘宝镜就可以解决npm config set registry http://registry.npm.taobao.org/ 2.取消镜像npm config delete registry