我在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
答案 0 :(得分:1)
再次将项目推送到Heroku,它现在可以正常工作。
问题发生在curl-http2 buildpack中:它试图下载的版本不再存在于Ubuntu的服务器上。我刚刚解决了这个问题。
如果您将来遇到类似的问题,并且它不是应用程序代码中的构建错误,请在失败的buildpack的GitHub存储库中打开一个问题。< / p>