# 注册模块镜像
npm set registry https://registry.npm.taobao.org  
# node-gyp 编译依赖的 node 源码镜像  
npm set disturl https://npm.taobao.org/dist 
# 清空缓存  
npm cache clean --force  
# 安装cnpm  
npm install -g cnpm --registry=https://registry.npm.taobao.org  

相关文章:

  • 2021-08-07
  • 2021-04-09
  • 2021-11-11
  • 2021-08-22
  • 2022-01-07
  • 2022-02-06
  • 2021-05-25
猜你喜欢
  • 2022-12-23
  • 2021-05-27
  • 2021-05-07
  • 2022-12-23
  • 2021-09-04
  • 2022-02-16
相关资源
相似解决方案