[Mac] Error: Failure while executing; `/opt/homebrew/bin/brew tap homebrew/services` exited with 1.

文章讲述了作者在尝试启动Redis服务时遇到的错误,怀疑是Homebrew问题和网络问题。通过刷新科学上网工具并多次尝试,问题得以解决。作者寻求大佬指点类似git问题的原因。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

遇到一个坑,又莫名其妙的自己解决了。但我还是要记录一下,之后有机会再来填坑吧。

 

启动redis 服务不成功,遇到下面报错:

(base) umi@UmideMac-mini ~ % brew services srart redis
==> Tapping homebrew/services
Cloning into '/opt/homebrew/Library/Taps/homebrew/homebrew-services'...
fatal: unable to access 'https://github.com/Homebrew/homebrew-services/': Failed to connect to github.com port 443 after 75004 ms: Operation timed out
Error: Failure while executing; `git clone https://github.com/Homebrew/homebrew-services /opt/homebrew/Library/Taps/homebrew/homebrew-services --origin=origin --template=` exited with 128.
Error: Failure while executing; `/opt/homebrew/bin/brew tap homebrew/services` exited with 1.

查了一圈回来说是,homebrew的问题和网络的问题,大致也就这两个方面了

于是我刷新了一下我的科学上网工具,

然后多试了几下,就好了:

之前也遇到过类似的git 不了的问题, 到底是为什么呢?

望路过的大佬指点迷津!多谢!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值