Error searching on GitHub: GitHub API Error: Bad credentials The GitHub credentials in the macOS key

一 背景

       Mac 上,使用brew 安装 软件时 ,提示报错如下:Error searching on GitHub: GitHub API Error: Bad credentials The GitHub credentials in the macOS key,具体报错如下:

Error: GitHub {
   
    
    
  "message": "Bad credentials",
  "documentation_url": "https://developer.github.com/v3"
}
The GitHub credentials in the OS X keychain may be invalid.
Clear them with:
  printf "protocol=https\nhost=gith

猜你喜欢

转载自blog.csdn.net/whq19890827/article/details/129099934