LoginSignup
18

More than 3 years have passed since last update.

2秒で解決。Big Sur (macOS 11 developer Beta)アップデートでHomebrewが使えなくなった時の対処法

Last updated at Posted at 2020-07-28

コマンドラインツールのインストールで解決

エラーメッセージ

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

診断

brew doctor

Warning: Your Command Line Tools are too outdated.

警告:コマンドラインツールが古すぎます。

対処法

コマンドラインから最新のコマンドラインツールをインストール

sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install

もしくは、

デヴェロッパーサイトで最新のコマンドラインツールをインストール。
https://developer.apple.com/download/more/

で、動きました。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
18