修改 下载仓库为淘宝镜像

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

如果要发布自己的镜像需要修改回来

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

安装cnpm

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

相关文章:

  • 2022-12-23
  • 2022-02-01
  • 2022-12-23
  • 2022-12-23
  • 2021-06-04
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-01
  • 2022-12-23
  • 2022-12-23
  • 2022-02-28
  • 2022-12-23
  • 2021-07-12
相关资源
相似解决方案