首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法将Vapor推到Heroku

无法将Vapor推到Heroku
EN

Stack Overflow用户
提问于 2018-01-20 09:37:36
回答 1查看 239关注 0票数 0

我对Vapor / Swift代码做了一些小改动。尝试不推动Heroku,但得到一个错误。

代码语言:javascript
复制
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项目,但没有帮助。有什么想法吗?

代码语言:javascript
复制
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
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-01-20 10:13:31

再一次把你的项目推给Heroku,它现在就能工作了。

问题在于curl-http2buildpack:它试图下载的版本不再存在于Ubuntu的服务器上。我刚才已经解决了这个问题。

如果将来遇到类似的问题,并且应用程序代码中没有生成错误,请在失败的buildpack的GitHub回购处打开一个问题。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/48354590

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档