我对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发布于 2018-01-20 10:13:31
再一次把你的项目推给Heroku,它现在就能工作了。
问题在于curl-http2buildpack:它试图下载的版本不再存在于Ubuntu的服务器上。我刚才已经解决了这个问题。
如果将来遇到类似的问题,并且应用程序代码中没有生成错误,请在失败的buildpack的GitHub回购处打开一个问题。
https://stackoverflow.com/questions/48354590
复制相似问题