文章目录
- 本地Node版本:v17.9.1
- 执行配置指令:
npm config set registry https://registry.npmmirror.com
- 查看配置:
npm config get registry
- 恢复到官方源:
npm config set registry https://registry.npmjs.org
npm config set registry https://registry.npmmirror.com
npm config get registry
npm config set registry https://registry.npmjs.org