当我尝试brew update
时,出现以下错误。我该如何解决呢?
~$ brew update
Error: undefined method `close!' for nil:NilClass
Please report this bug:
https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting
/usr/local/Library/Homebrew/extend/pathname.rb:129:in `ensure in atomic_write'
/usr/local/Library/Homebrew/extend/pathname.rb:129:in `atomic_write'
/usr/local/Library/Homebrew/cmd/untap.rb:42:in `unlink_tap_formula'
/usr/local/Library/Homebrew/cmd/update.rb:24:in `update'
/usr/local/Library/brew.rb:136:in `<main>'
答案 0 :(得分:0)
以下是homebrew
github repo brew update gives NilClass error关闭的确切问题。
所以我的工作方式如下:
我猜我可以让它在没有删除的情况下工作但是想确保我有一个干净的设置。