突然酿造给我警告:
Warning: You have external commands with conflicting names.
Found command `brew-cask-tests` in following places:
/usr/local/Library/Taps/caskroom/homebrew-cask/cmd/brew-cask-tests.rb
/usr/local/Library/Homebrew/cask/cmd/brew-cask-tests.rb
Found command `brew-cask` in following places:
/usr/local/Library/Taps/caskroom/homebrew-cask/cmd/brew-cask.rb
/usr/local/Library/Homebrew/cask/cmd/brew-cask.rb
我该怎么办?
答案 0 :(得分:0)
对我来说,修复是运行以下命令:
brew update && brew uninstall --force brew-cask
这似乎与最近对cask包的更改有关: https://github.com/caskroom/homebrew-cask/releases/tag/v0.60.0
“注意这是Homebrew-cask的最终版本。截至本版本,不再需要酿造安装brew-cask。
brew tap caskroom/cask
将安装brew-cask作为Homebrew外部命令,brew update
将使其保持最新状态。您可以
brew update && brew uninstall --force brew-cask
清理。“