brew安装jaeger时github凭证失效

安装jaeger报错

brew install jaeger
Warning: No available formula or cask with the name "jaeger".

==> Searching for similarly named formulae...

Error: No similarly named formulae found.

==> Searching for a previously deleted formula (in the last month)...

Error: No previously deleted formula found.

==> Searching taps on GitHub...

Warning: Error searching on GitHub: GitHub API Error: Requires authentication

The GitHub credentials in the macOS keychain may be invalid.

Clear them with:

printf "protocol=https\nhost=github.com\n" | git credential-osxkeychain erase

Create a GitHub personal access token:

https://github.com/settings/tokens/new?scopes=gist,public_repo,workflow\&description=Homebrew

echo 'export HOMEBREW_GITHUB_API_TOKEN=your_token_here' >> ~/.zshrc

Error: No formulae found in taps.

原因

github凭证失效

解决

跟着报错提示走就行

  1. 清除无效的凭证

    printf "protocol=https\nhost=github.com\n" | git credential-osxkeychain erase

  2. github创建新凭证

    https://github.com/settings/tokens/new?scopes=gist,public_repo,workflow\&description=Homebrew

    已经默认勾选好,直接生成就行

    配置凭证,上图的红色部分替换到下面的token

    echo 'export HOMEBREW_GITHUB_API_TOKEN=your_token_here' >> ~/.zshrc

    重新加载配置文件

    source ~/.zshrc

虽然,还是没找到...

但是,以后找别的包就能用了...

最后,还是用了docker...

docker run -itd -d --name jaeger -p 16686:16686 -p 4317:4317 -p 4318:4318 -p 5778:5778 -p 9411:9411 jaegertracing/all-in-one

相关推荐
星浩AI41 分钟前
一个搞音乐的,用 AI 写了款编程工具DeepSeek TUI,本文就是它写的
github·agent·deepseek
GISer_Jing1 小时前
GitHub原生DevOps全链路实战:从代码提交到生产部署的自动化闭环
自动化·github·devops
阿里嘎多学长1 小时前
2026-05-08 GitHub 热点项目精选
开发语言·程序员·github·代码托管
GISer_Jing2 小时前
全栈实战:分支管理到CI/CD全流程
运维·前端·ci/cd·github·devops
GISer_Jing2 小时前
GitHub Actions 完整 Token/Secret 配置详解(Vercel + Docker 2026最新版)
docker·容器·github
jiayi_19993 小时前
[github] 上传本地repo
大数据·elasticsearch·github
XD74297163613 小时前
科技早报晚报|2026年5月7日:电子签署、团队知识库与可嵌入表格引擎,今天更值得动手的 3 个开源机会
科技·开源·github·开源项目·开发者工具
Rkgua18 小时前
初学者对与.gitignore应该有的了解
github
darkb1rd19 小时前
deepclaude:低成本指南,17 倍省调用费
开源·github·好物分享