The lock file is not up to date with the latest changes in composer.json, it is recommended that you run composer update

I just ran a composer update on my local machine for my Symfony5 app, which also updated the projects composer.lock file.

Now I git add -A and git commit changes.

But when I git push my repository to my cloud deployment, I get the message:

The lock file is not up to date with the latest changes in composer.json, it is recommended that you run composer update

I just ran the update. still same issue. So what is wrong here?

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *