Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/285.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
git推heroku主错误。未能编译php应用程序。无法分析composer.json_Php_Heroku_Compiler Errors - Fatal编程技术网

git推heroku主错误。未能编译php应用程序。无法分析composer.json

git推heroku主错误。未能编译php应用程序。无法分析composer.json,php,heroku,compiler-errors,Php,Heroku,Compiler Errors,我的json文件是{}源文件,看起来名称和描述都是必需的。我希望您至少需要填写这些信息,然后在推送之前进行验证 -----> PHP app detected ! ERROR: Could not parse 'composer.json'; make sure it's valid! ! Push rejected, failed to compile PHP app. ! Push failed

我的json文件是{}

源文件,看起来名称和描述都是必需的。我希望您至少需要填写这些信息,然后在推送之前进行验证

-----> PHP app detected
 !     ERROR: Could not parse 'composer.json'; make sure it's valid!
 !     Push rejected, failed to compile PHP app.
 !     Push failed