【问题标题】:Not able to push Vapor to Heroku无法将 Vapor 推送到 Heroku
【发布时间】:2018-01-20 09:37:36
【问题描述】:

我对@9​​87654323@ / 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 buildpacks的输出。
  • @vzsg 包含在其中

标签: heroku vapor


【解决方案1】:

再次将您的项目推送到 Heroku,它现在可以工作了。


问题出在 curl-http2 buildpack 中:它尝试下载的版本不再存在于 Ubuntu 的服务器上。我刚刚解决了这个问题。

如果您以后遇到类似的问题,这不是您的应用程序代码中的构建错误,请在失败的构建包的 GitHub 存储库中打开一个问题。

【讨论】:

    猜你喜欢
    • 2020-07-13
    • 2018-03-16
    • 2016-12-14
    • 1970-01-01
    相关资源
    最近更新 更多