解决方案

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

将npm默认设置为淘宝镜像地址

发布包

当你想发布自己的包时,需要将地址修改回来

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

相关文章:

  • 2021-12-11
  • 2022-02-03
  • 2021-10-24
  • 2021-11-18
  • 2021-03-29
  • 2022-01-08
猜你喜欢
  • 2022-12-23
  • 2021-08-09
  • 2021-12-21
  • 2021-07-19
  • 2021-11-13
相关资源
相似解决方案