NPM_配置的补充说明
原来的registry.npm.taobao.org已替换为registry.npmmirror.com
npm config set registry https://registry.npmmirror.com确认配置已经生效
npm config get registry若需要恢复默认的官方源,可以执行以下命令
npm config set registry https://registry.npmjs.org/原来的registry.npm.taobao.org已替换为registry.npmmirror.com
npm config set registry https://registry.npmmirror.com确认配置已经生效
npm config get registry若需要恢复默认的官方源,可以执行以下命令
npm config set registry https://registry.npmjs.org/