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

Composer install fails with "Your lock file does not contain a compatible set of packages. Please run composer update." #326

Open
MuslehuddinJuned opened this issue Sep 8, 2021 · 1 comment

Comments

@MuslehuddinJuned
Copy link

After run this command: composer create-project --prefer-dist cretueusebiu/laravel-vue-spa
I found this error:
Your lock file does not contain a compatible set of packages. Please run composer update.

Problem 1
- league/commonmark is locked to version 2.0.2 and an update of this package was not requested.
- league/commonmark 2.0.2 requires php ^7.4 || ^8.0 -> your php version (7.3.10) does not satisfy that requirement.
Problem 2
- league/config is locked to version v1.1.1 and an update of this package was not requested.
- league/config v1.1.1 requires php ^7.4 || ^8.0 -> your php version (7.3.10) does not satisfy that requirement.
Problem 3
- league/commonmark 2.0.2 requires php ^7.4 || ^8.0 -> your php version (7.3.10) does not satisfy that requirement.
- laravel/framework v8.54.0 requires league/commonmark ^1.3|^2.0 -> satisfiable by league/commonmark[2.0.2].
- laravel/framework is locked to version v8.54.0 and an update of this package was not requested.

@cretueusebiu
Copy link
Owner

Try maybe a git clone instead and delete the composer.lock file

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