我的所有 brew 命令(更新、配置、docker 等)在我的 Mac v10.14.2 上都抛出以下错误:
brew update
fatal: could not read Username for 'https://github.com': terminal prompts disabled
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Error: homebrew/homebrew-dupes does not exist! Run 'brew untap homebrew/homebrew-dupes'
homebrew/homebrew-x11 does not exist! Run 'brew untap homebrew/homebrew-x11'
我已经尝试过以下选项:
1. brew untap homebrew/homebrew-x11 -> 给出与报告相同的错误。
2. brew untap homebrew/homebrew-dupes -> 给出与报告相同的错误。
3. brew resintall 失败并出现与报告相同的错误Failed during: /usr/local/bin/brew update --force
~/.bash_profile 中的 brew 相关条目:
alias brew='brew update && brew'
关于如何摆脱这个问题的任何建议?