brew時HOMEBREW_GITHUB_API_TOKEN錯誤

$ brew search fantastical
No formula found for "fantastical".
==> Searching pull requests...
Error: GitHub API rate limit exceeded for 180.173.89.247. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
Try again in 23 minutes 51 seconds, or create a personal access token:
  https://github.com/settings/tokens/new?scopes=&description=Homebrew
and then set the token as: HOMEBREW_GITHUB_API_TOKEN

相信有很多人會遇到上面這種問題,正確解決之道:git

一、點擊錯誤信息中的github連接github

二、先生成好token並copyspa

三、打開terminal,輸入 export HOMEBREW_GITHUB_API_TOKEN=你copy的token字符串code

四、搞定orm

$ export HOMEBREW_GITHUB_API_TOKEN=你copy的token字符串
相關文章
相關標籤/搜索