Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

lilo's avatar
Level 2

Deployment was failed for Web Application while deploying master branch

Hi,

When I push my code, it said "push successful" but gives this error :

Deployment was failed for Web Application while deploying master branch❌
Stdout

86ec2fc..6c62df9 Stderr bitbucket.org:portal.frontend 86ec2fc..6c62df9 master -> origin/master error: Your local changes to the following files would be overwritten by merge: composer.lock Please commit your changes or stash them before you merge. Aborting

What could have caused this? Thanks in advance.

0 likes
2 replies
martinbean's avatar

@lilo We have no idea how you’re deploying. But the error seems to be suggestion the composer.lock file has been changed on your server, and your deployment tools wants to overwrite it.

lilo's avatar
Level 2

@martinbean In my local, I had installed the Laravel Charts package using these commands:

composer require consoletvs/charts:6.*
php artisan vendor:publish --tag=charts_config

Then the composer.lock file was pushed while pushing. Could this be what caused the problem? If so, how should I solve this?

Please or to participate in this conversation.