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 v2 problem #112

Open
max-petrovich opened this issue Apr 20, 2021 · 1 comment
Open

Composer v2 problem #112

max-petrovich opened this issue Apr 20, 2021 · 1 comment

Comments

@max-petrovich
Copy link

composer create-project --prefer-dist botman/studio:1.3.1 tg-bot

Creating a "botman/studio:1.3.1" project at "./tg-bot"
Installing botman/studio (1.3.1)

  • Installing botman/studio (1.3.1): Extracting archive
    Created project in ...

php -r "file_exists('.env') || copy('.env.example', '.env');"
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

Problem 1
- thecodingmachine/discovery is locked to version v1.2.1 and an update of this package was not requested.
- thecodingmachine/discovery v1.2.1 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
Problem 2
- thecodingmachine/discovery v1.2.1 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
- botman/studio-addons 1.3.0 requires thecodingmachine/discovery ^1.2 -> satisfiable by thecodingmachine/discovery[v1.2.1].
- botman/studio-addons is locked to version 1.3.0 and an update of this package was not requested.

You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2.

@MarceauKa
Copy link

Hi ! Just delete your composer.lock file then do a composer install.

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