无法将 Vapor 推送到 Heroku
Not able to push Vapor to Heroku
我对 Vapor
/ Swift
代码做了一些小改动。尝试不推送 Heroku
,但出现错误。
remote: -----> Downloading curl 7.52.1
remote: tar: This does not look like a tar archive
remote:
remote: gzip: stdin: not in gzip format
remote: tar: Child returned status 1
remote: tar: Error is not recoverable: exiting now
remote: ! Push rejected, failed to compile curl app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to frozen-sea-46940.
remote:
To https://git.heroku.com/frozen-sea-46940.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/frozen-sea-46940.git'
Completed with errors, see above
我调用了一个 vapor update
事件,重新生成了 Xcode 项目,但没有帮助。任何的想法?
Kukoda-MacBook-Pro:frozen-sea-46940 kukodajanos$ heroku buildpacks
=== frozen-sea-46940 Buildpack URLs
1. https://github.com/vzsg/heroku-buildpack-curl-http2.git
2. https://github.com/vapor-community/heroku-buildpack.git
再次将您的项目推送到 Heroku,它现在可以工作了。
问题出在 curl-http2 构建包中:Ubuntu 的服务器上不再存在它试图下载的版本。我刚刚解决了这个问题。
如果您以后 运行 遇到类似的问题,并且这不是您的应用程序代码中的构建错误,请在 [=19] 打开一个问题=] 失败的 buildpack 的 repo。
我对 Vapor
/ Swift
代码做了一些小改动。尝试不推送 Heroku
,但出现错误。
remote: -----> Downloading curl 7.52.1
remote: tar: This does not look like a tar archive
remote:
remote: gzip: stdin: not in gzip format
remote: tar: Child returned status 1
remote: tar: Error is not recoverable: exiting now
remote: ! Push rejected, failed to compile curl app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to frozen-sea-46940.
remote:
To https://git.heroku.com/frozen-sea-46940.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/frozen-sea-46940.git'
Completed with errors, see above
我调用了一个 vapor update
事件,重新生成了 Xcode 项目,但没有帮助。任何的想法?
Kukoda-MacBook-Pro:frozen-sea-46940 kukodajanos$ heroku buildpacks
=== frozen-sea-46940 Buildpack URLs
1. https://github.com/vzsg/heroku-buildpack-curl-http2.git
2. https://github.com/vapor-community/heroku-buildpack.git
再次将您的项目推送到 Heroku,它现在可以工作了。
问题出在 curl-http2 构建包中:Ubuntu 的服务器上不再存在它试图下载的版本。我刚刚解决了这个问题。
如果您以后 运行 遇到类似的问题,并且这不是您的应用程序代码中的构建错误,请在 [=19] 打开一个问题=] 失败的 buildpack 的 repo。