通过config配置指向国内镜像源,命令如下

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

然后可以查看是否配置成功

npm config get registry  

 

相关文章:

  • 2021-05-23
  • 2021-12-25
  • 2021-04-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-16
猜你喜欢
  • 2022-12-23
  • 2021-10-02
  • 2021-10-28
  • 2021-12-04
  • 2021-12-27
  • 2022-12-23
  • 2021-08-02
相关资源
相似解决方案