The problem of homebrew effectiveness after upgrading macOS to Big sur

insert image description here
After the system is upgraded, an error message appears when using brew

/usr/local/Homebrew/Library/Homebrew/version.rb:368:in `initialize': Version value must be a string; got a NilClass () (TypeError)

Solution:

brew update-reset

After the brew upgrade is completed, it will be used normally.

おすすめ

転載: blog.csdn.net/aofengdaxia/article/details/115332667