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

相关推荐
无巧不成书02182 小时前
最新 PyPI可信发布完整教程 GitHub Actions+OIDC零Token实现Python包自动化发布
python·自动化·github·pypi
千尺浪在掘金3 小时前
Unlimited-SVG:百度开源「图片转 SVG」模型,11 GB 便携包解压即用
开源·github·设计
EatFan5 小时前
GitHub 热榜 14 个项目 11 个与 AI Agent 相关:Agent Skills 正在成为智能体的新分发层
人工智能·github
猛码象限8 小时前
【github周榜】单一仓库退潮后,四家大厂用同一种格式发工具
github·业界资讯
钱栈up10 小时前
GitHub热榜实测|Sherlock:一个用户名搜遍全网
python·开源·github
逛逛GitHub12 小时前
3 个有意思的 GitHub 项目,游戏特效和音效素材。
github
徐小夕12 小时前
LlamaIndex Memory 深度拆解:为什么持久化记忆才是 Agent 从"玩具"走向"工具"的那一步
前端·vue.js·github
钱栈up14 小时前
GitHub 热榜上手|Astryx:一周 +1.3 万 star 的 Agent 设计系统
typescript·开源·github
逛逛GitHub1 天前
推荐 11 个本月热门的 GitHub 开源项目,尤其是第 9 个。
github
钱栈up2 天前
GitHub 热榜上手|T3 Code:手机远程操控 7 款 AI 编程 Agent
typescript·开源·github