1、淘宝镜像安装

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

2配置后可通过下面方式来验证是否成功 
npm config get registry

 

3.通过cnpm使用

npm install -g cnpm --registry=https://registry.npm.taobao.org

相关文章:

  • 2021-12-16
  • 2022-01-22
  • 2022-12-23
  • 2022-12-23
  • 2021-07-05
  • 2021-06-23
  • 2021-06-11
猜你喜欢
  • 2021-04-09
  • 2021-12-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案