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

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-24
  • 2021-12-21
  • 2021-08-07
  • 2021-06-11
相关资源
相似解决方案