查看npm源 npm config get registry 设置npm从淘宝镜像下载安装包 npm config set -g registry https://registry.npm.taobao.org