Error: Failure while executing; `git clone https://github.com/Homebrew/homebrew-services /usr/local/

编程知识 行业动态 更新时间:2024-06-13 00:19:38

chenjingwendeMacBook-Pro:~ chenjingwen$ brew services start nginx
==> Tapping homebrew/services
Cloning into ‘/usr/local/Homebrew/Library/Taps/homebrew/homebrew-services’…
fatal: unable to access ‘https://github/Homebrew/homebrew-services/’: Failed to connect to 127.0.0.1 port 1080: Connection refused
Error: Failure while executing; git clone https://github/Homebrew/homebrew-services /usr/local/Homebrew/Library/Taps/homebrew/homebrew-services exited with 128.
Error: Failure while executing; /usr/local/bin/brew tap homebrew/services exited with 1.
chenjingwendeMacBook-Pro:~ chenjingwen$ git config --global --unset http.proxy
chenjingwendeMacBook-Pro:~ chenjingwen$ git config --global --unset https.proxy
chenjingwendeMacBook-Pro:~ chenjingwen$ brew services start nginx
==> Tapping homebrew/services
Cloning into ‘/usr/local/Homebrew/Library/Taps/homebrew/homebrew-services’…
remote: Enumerating objects: 52, done.
remote: Counting objects: 100% (52/52), done.
remote: Compressing objects: 100% (48/48), done.
remote: Total 829 (delta 20), reused 16 (delta 3), pack-reused 777
Receiving objects: 100% (829/829), 232.61 KiB | 3.00 KiB/s, done.
Resolving deltas: 100% (338/338), done.
Tapped 1 command (39 files, 310.3KB).
==> Successfully started nginx (label: homebrew.mxcl.nginx)

解决方案:
git config --global --unset http.proxy
git config --global --unset https.proxy

更多推荐

Error: Failure while executing; `git clone https://github.com/Homebrew/homebrew-

本文发布于:2023-03-28 16:16:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/9607326b0654720bad346eff2575a75d.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:git   clone   https   Error   Failure

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!