【发布时间】:2015-08-10 19:07:06
【问题描述】:
直到今天,我的项目部署到 Heroku 一直运行良好。我的作曲家文件的最后更新是在 composer.json 的类映射中包含一个 php 类。现在 Heroku 部署失败并显示此错误消息
-----> Removing .DS_Store files
-----> Fetching custom git buildpack... done
-----> PHP app detected
-----> No runtime required in composer.json, defaulting to PHP 5.6.11.
-----> Installing system packages...
- PHP 5.6.11
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
! Push rejected, failed to compile PHP app
我已尝试更新 composer,但更新 composer.lock 并不能解决我的问题。
任何帮助将不胜感激。
【问题讨论】: