簡體   English   中英

Brew Tap:身份驗證失敗

[英]Brew Tap: Authentication failed

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.

使用以下命令遇到同樣的問題:brew install mongodb

  • brew 正在檢查 github。

已修復添加要安裝的精確版本:

  • brew 安裝 mongodb/brew/mongodb-community@4.2

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM