Env:Mac Bash, 当我尝试使用某个存储库时(起初是一个组织存储库,然后是我自己的私有存储库,都遇到相同的身份验证失败错误):
似乎用户名和密码错误。但是,当我登录Github时,我恰好使用了用户名和密码。我确认了几次。有人可以启发我这里有什么问题吗?
==> Tapping <my repo name>
Cloning into '/usr/local/Homebrew/Library/Taps/<my user name>/homebrew-<my repo name>'...
git: 'credential-osxkeychain' is not a git command. See 'git --help'.
Username for 'https://github.com': <my github user name>
Password for 'https://<my user name>@github.com':
git: 'credential-osxkeychain' is not a git command. See 'git --help'.
remote: Invalid username or password.
fatal: Authentication failed for 'https://<my user name>/homebrew-<my repo name>'
Error: Failure while executing; `git clone https://github.com/<my user name>/homebrew-<my repo name> /usr/local/Homebrew/Library/Taps/<my user name>/homebrew-<my repo name> --depth=1` exited with 128.
答案 0 :(得分:0)
使用以下命令遇到相同的问题:brew install mongodb
已修复,添加了要安装的精确版本: