今天在编译eos源码的时候一直报如下错误。
fatal: destination path 'mongo-cxx-driver' already exists and is not an empty directory.
    Unable to clone MongoDB C++ driver at this time.
    Exiting now.
    我猜想可能跟我通过brew手动安装了一些库有关,因而我尝试清除掉所有brew已经安装的软件来解决这个问题,具体操作如下:

删除brew库

cd `brew —prefix`
$ rm -rf Cellar
$ brew prune
$ rm -rf Library .git .gitignore bin/brew README.md share/man/man1/brew
$ rm -rf ~/Library/Caches/Homebrew
 

重装brew



/********************************
* 本文来自CSDN博主"爱踢门"
* 转载请标明出处:http://blog.csdn.net/itleaks
******************************************/

Mac重装Homebrew,彻底删除brew软件

相关文章:

  • 2021-05-17
  • 2022-02-07
  • 2021-12-04
  • 2021-09-07
  • 2022-01-06
  • 2021-08-26
  • 2022-01-29
  • 2021-11-22
猜你喜欢
  • 2021-12-08
  • 2021-11-20
  • 2022-01-07
  • 2022-01-03
  • 2022-01-30
  • 2021-12-01
  • 2021-12-07
相关资源
相似解决方案