-----> 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 {}
From https://getcomposer.org/schema.json , it looks like both name and description are REQUIRED. I expect you'll need to fill out at least those and then validate it before pushing.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.