[英]git push heroku master errror. Failed to compile php app. could not parse composer.json
-----> PHP app detected
! ERROR: Could not parse 'composer.json'; make sure it's valid!
! Push rejected, failed to compile PHP app.
! Push failed
my json file is just {} 我的json文件只是{}
From https://getcomposer.org/schema.json , it looks like both name and description are REQUIRED. 在https://getcomposer.org/schema.json中 ,看起来名称和描述都是必需的。 I expect you'll need to fill out at least those and then validate it before pushing.
我希望您至少需要填写这些内容,然后在推送之前对其进行验证。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.