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.
botman new weather-bot
Try some alternative composer command
composer create-project --prefer-dist botman/studio projectname
it will clone and install all the dependency
Getting this error when trying with composer create-project command
composer create-project --prefer-dist botman/studio myfirstbot
Creating a "botman/studio" project at "./myfirstbot"
Installing botman/studio (1.3.1)
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.
Worked for me after I downgrade Composer 2 to Composer 11.0 #1213
composer self-update --1
@GDAndres98 this works, Thanks!!!
After many errors and attempts i wrote a simple step-by-step install guide
https://github.com/sebaxakerhtc/My-Ubuntu-Server/blob/master/botman_install.md
Most helpful comment
Worked for me after I downgrade Composer 2 to Composer 11.0 #1213
composer self-update --1