解决方案

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

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

发布包

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

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

相关文章:

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