npm 配置淘宝镜像

Posted on 2022-08-09 11:04  zkx4213  阅读(27)  评论(0编辑  收藏  举报

 

修改 npm 配置的形式
npm config get registry https://registry.npm.taobao.org/

检查是否修改成功
npm config get registry

恢复为默认的 npm 下载方式
npm config set registry https://registry.npmjs.org


 

npm config set registry https://registry.npmjs.org

Copyright © 2024 zkx4213
Powered by .NET 9.0 on Kubernetes