Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Your lock file does not contain a compatible set of packages. Please run composer update. Error: Process completed with exit code 2. #251

Open
nxvv opened this issue Jan 18, 2023 · 1 comment

Comments

@nxvv
Copy link

nxvv commented Jan 18, 2023

I got this error while trying to make my pull request :


composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
shell: /usr/bin/bash -e {0}

Your lock file does not contain a compatible set of packages. Please run composer update.
Error: Process completed with exit code 2.


How can I solve it ? All tests passed locally.

@shaxzodbe
Copy link

You need to add
- name: Update Composer
run: composer update
that lines of code before
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
this one. This file located in .github/workflows/laravel.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants