码迷,mamicode.com
首页 > Windows程序 > 详细

brew时HOMEBREW_GITHUB_API_TOKEN错误

时间:2016-03-17 12:37:42      阅读:207      评论:0      收藏:0      [点我收藏+]

标签:

$ brew search fantastical
No formula found for "fantastical".
==> Searching pull requests...
Error: GitHub API rate limit exceeded for 180.173.89.247. (But heres 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

相信有不少人会遇到上面这种问题,正确解决之道:

1、点击错误信息中的github链接

2、先生成好token并copy

3、打开terminal,输入 export HOMEBREW_GITHUB_API_TOKEN=你copy的token字符串

4、搞定

$ export HOMEBREW_GITHUB_API_TOKEN=你copy的token字符串

 

brew时HOMEBREW_GITHUB_API_TOKEN错误

标签:

原文地址:http://www.cnblogs.com/phoenix-fec/p/5286695.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!