修改源地址为淘宝 NPM 镜像

 

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
cnpm install [name]
 

 

相关文章:

  • 2022-12-23
  • 2021-05-29
  • 2021-11-29
  • 2021-12-31
  • 2022-01-08
  • 2021-06-26
猜你喜欢
  • 2022-12-23
  • 2021-08-09
  • 2021-07-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案