异常信息

Error: An exception occurred within a child process:
  NoMethodError: undefined method `path' for nil:NilClass
Did you mean?  paths

解决方案

sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
brew update-reset

参考文章:https://discourse.brew.sh/t/homebrew-installation-fail/7439

最后修改:2020 年 11 月 17 日 12 : 48 AM
如果觉得我的文章对你有用,请随意赞赏