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

  build, github, symfony

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

LEAVE A COMMENT