【Vapor】安装了一天,终于自动好了 Q_Q

11 篇文章 1 订阅

0x00 Mac终端安装

使用命令:brew install vapor
然后一直报一个错误:
LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

搜索了 1 天,各种尝试,依然无果 T_T

相关日志:

==> Installing vapor from vapor/tap
==> Downloading https://github.com/vapor/toolbox/archive/18.0.0.tar.gz
Already downloaded: /Users/apple/Library/Caches/Homebrew/downloads/a4d3c11ed4b9d0aa51eaf5b9b88cfcd1b357a41b6d06ee739e7050a90963ca51--18.0.0.tar.gz
==> swift build --disable-sandbox -c release -Xswiftc -cross-module-optimization
Last 15 lines from /Users/apple/Library/Logs/Homebrew/vapor/01.swift:
build
--disable-sandbox
-c
release
-Xswiftc
-cross-module-optimization

Fetching https://github.com/tanner0101/mustache.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/vapor/console-kit.git
error: Failed to clone https://github.com/tanner0101/mustache.git:
    Cloning into bare repository '/private/tmp/vapor-20210715-4523-pxsr2z/toolbox-18.0.0/.build/repositories/mustache-d8034efc'...
    fatal: unable to access 'https://github.com/tanner0101/mustache.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/vapor/homebrew-tap/issues

0x01 自动好了

第 2 天,再次使用命令安装,结果没问题了 ?_?

==> Installing vapor from vapor/tap
==> Downloading https://github.com/vapor/toolbox/archive/18.0.0.tar.gz
Already downloaded: /Users/apple/Library/Caches/Homebrew/downloads/a4d3c11ed4b9d0aa51eaf5b9b88cfcd1b357a41b6d06ee739e7050a90963ca51--18.0.0.tar.gz
==> swift build --disable-sandbox -c release -Xswiftc -cross-module-optimization
==> mv .build/release/vapor vapor
🍺  /usr/local/Cellar/vapor/18.0.0: 5 files, 5.6MB, built in 3 minutes 36 seconds

在这里插入图片描述
日志显示,它的文件路径是:/usr/local/Cellar/vapor/18.0.0

看看其他地方还有没有
cd /usr 进入 usr 目录:
使用 find 命令进行查找:find . -name "vapor"
结果:

find: ./sbin/authserver: Permission denied
./local/bin/vapor
./local/Homebrew/Library/Taps/vapor
./local/var/homebrew/linked/vapor
./local/opt/vapor
./local/Cellar/vapor
./local/Cellar/vapor/18.0.0/bin/vapor

目录 ./local/bin/vapor, 这是个替身文件,原身是 ./local/Cellar/vapor/18.0.0/bin/vapor
目录 ./local/Homebrew/Library/Taps/vapor, 还有个 homebrew-tap
在这里插入图片描述
目录 ./local/var/homebrew/linked/vapor,是一个 替身 文件夹,原身是 ./local/Cellar/vapor/18.0.0
目录 ./local/opt/vapor,是一个 替身 文件夹,原身是 ./local/Cellar/vapor/18.0.0

备份地址:下载
提取码: crqf


小笔记XNote

笔记如此方便~
在这里插入图片描述


  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

豪冷啊

你的鼓励是对我的认可!

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值