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

相关推荐
CoderJia程序员甲11 分钟前
GitHub 热榜项目 - 日榜(2025-12-23)
ai·开源·大模型·github·ai教程
于谦44 分钟前
✨ feat(app1,pkg1): monorepo生成规范化提交信息的最优解 - committier
javascript·github·代码规范
2301_805962932 小时前
Android Studio 图标制作与汉化全攻略:从生成图标到汉字图标、中文应用名
gitee·github
Xinstall渠道统计平台2 小时前
如何利用APP渠道统计提升营销效果
java·git·github
ssshooter12 小时前
彻底搞懂 SSH 与 Git 的“幕后交易”
git·github·全栈
irisMoon0613 小时前
GitHub Copilot
github·copilot
消防大队VUE支队19 小时前
家里到底连了多少设备?这款开源神器让你一目了然
github
逛逛GitHub19 小时前
9 个 超绝的 AI 控制电脑 GitHub 开源项目。
github
QC七哥1 天前
伪造git提交记录生成点阵字符
git·github
TimberWill1 天前
GitHub Copilot 一键生成中文commit提示语规则设置
git·github