【发布时间】:2018-06-03 15:29:46
【问题描述】:
当我创建一个新的蒸汽 3 项目时。 我在构建时遇到了这个错误。
我在 beta 版和非 beta 版中都试过了.. 我重新安装了蒸汽 但仍然有这个错误。
No .build folder, fetch may take a while...
Fetching Dependencies [ • ]
Error: backgroundExecute(code: 1, error: "warning: \'fetch\' command is deprecated; use \'resolve\' instead\nerror: failed to clone; Cloning into bare repository
\'/Users/Mercury/Desktop/vapor/n/.build/repositories/http.git-9159899851620770205\'...\nerror: RPC failed; curl 56 LibreSSL SSL_read:
error:1409442E:SSL routines:SSL3_READ_BYTES:tlsv1 alert protocol version, errno 0\nfatal: The remote end hung up unexpectedly\n", output: "Fetching https://github.com/vapor/validation.git\nFetching
https://github.com/apple/swift-nio-zlib-support.git\nFetching https://github.com/vapor/http.git\nFetching https://github.com/vapor/sqlite.git\nFetching
https://github.com/vapor/console.git\nFetching
https://github.com/vapor/core.git\nFetching
https://github.com/vapor/crypto.git\nFetching
https://github.com/vapor/database-kit.git\nFetching
https://github.com/vapor/routing.git\nFetching https://github.com/vapor/websocket.git\nFetching
https://github.com/vapor/service.git\nFetching
https://github.com/apple/swift-nio.git\nFetching
https://github.com/apple/swift-nio-ssl-support.git\nFetching https://github.com/vapor/fluent.git\nFetching
https://github.com/vapor/template-kit.git\nFetching
https://github.com/vapor/url-encoded-form.git\nFetching \https://github.com/vapor/multipart.git\nFetching https://github.com/vapor/vapor.git\nFetching
https://github.com/apple/swift-nio-ssl.git\nFetching
https://github.com/vapor/sql.git\nFetching https://github.com/vapor/fluent-sqlite.git\n")
【问题讨论】:
-
发布你的 Package.swift 文件以及
vapor --version的结果 -
所有激光版本
-
我遇到了同样的问题,我猜 swift 4.2 对 Vapor 3 的支持不好。
标签: vapor