查看当前设置的镜像源 npm config get registry 设置npmjs源 npm config set registry=http://registry.npmjs.org 设置淘宝镜像源 npm config set registry http://registry.npm.taobao.org