【发布时间】:2020-12-10 20:46:13
【问题描述】:
我正在运行 Raspbian,到目前为止已经安装了 Swift 5.1.5 并克隆了 Vapor Branch 18.0.0 beta 27。我似乎无法以某种方式在我的系统上安装 Swift 5.2 版。
尽管如此,下一步是构建 Vapor,但它给了我以下错误:
sudo swift build -c release
Updating https://github.com/jpsim/Yams.git
Updating https://github.com/apple/swift-nio.git
Updating https://github.com/vapor/console-kit.git
Updating https://github.com/apple/swift-log.git
Updating https://github.com/tanner0101/mustache.git
https://github.com/apple/swift-nio.git @ master: error: terminated(128): git -C /home/pi/Downloads/toolbox/.build/repositories/swift-nio-b68c973e rev-parse --verify 'master^{commit}' output:
fatal: Needed a single revision
不知道从那里去哪里,在网上找不到任何相关信息。
【问题讨论】: