npm换源
npm config set registry http: / /registry.npm.taobao.org
npm config set registry http://registry.npmjs.org
查看 registry 是否配置正确
npm config get registry
npm --help
npm config --help
npm config get --help
npm换源
npm config set registry http: / /registry.npm.taobao.org
npm config set registry http://registry.npmjs.org
查看 registry 是否配置正确
npm config get registry
npm --help
npm config --help
npm config get --help