JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

npm、pnpm、yarn 清理缓存,更改缓存目录

发布时间 2023-07-23 09:01:27作者: 贝尔塔猫

 

// 清理缓存
$ yarn cache clean
$ npm cache clean -f
$ pnpm store prune

// 设置新的缓存地址
$ npm config  set global-folder "E:/npm/global"
$ pnpm config  set global-folder "E:/yarn/global"
$ pnpm config set "E:/pnpm/global"

  

    本栏目推荐文章
  • 关于npm ERR! 的一个解决方案
  • 安装npm install报错npm ERR! code ETIMEDOUT npm ERR! errno ETIMEDOUT npm ERR! network request to https://registry.npmjs.org/webpack-subresource-integrity failed, reason
  • vim编辑器实现左边目录右边是文件内容
  • web目录探测:Dirsearch
  • 文章目录
  • CentOS 7复制文件和文件夹都阿里云OSS的指定目录
  • fish和pacman:“error: Unable to read input file: 是一个目录”报错的处理
  • 【npm问题】执行npm i @ant-design/pro-cli -g报错npm ERR! code ENOTEMPTY
  • Spark On YARN架构
  • Spark on YARN的两种部署模式
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们