Composer.json defines the dependency, but the composer was not found.

I added sendgrid and changed the composer.json file in heroku. The composer.json file contains

{
    "require": {
        "ext-mbstring": "*",
        "sendgrid/sendgrid": "2.0.5"
    }
}

to fix the file enter image description here

When I click on a hero, I see an error, as shown below.

enter image description here

+4
source share
2 answers

After installing the composer and rebooting the computer, I used the command composer update, and then it works fine and the error is fixed

0
source

, php-, composer update --ignore-platform-reqs. , , .

+1

All Articles