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

Not Working with Composer V 2.0 #12

Open
Ehab-Mamdouh opened this issue Jun 7, 2021 · 3 comments
Open

Not Working with Composer V 2.0 #12

Ehab-Mamdouh opened this issue Jun 7, 2021 · 3 comments

Comments

@Ehab-Mamdouh
Copy link

After upgrade composer to version 2, i tried to run composer update.
But error was shown ::
"Problem 1
- brightnucleus/country-codes[v0.3.1, ..., v0.3.2] require composer-plugin-api ^1 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
- Root composer.json requires brightnucleus/country-codes ^0.3.1 -> satisfiable by brightnucleus/country-codes[v0.3.1, v0.3.2]"

@masitings
Copy link

Me also got the same message..

@jairoprez
Copy link

I am having the same problem with some packages that depend on country-codes:
Screen Shot 2022-10-27 at 1 34 48 PM

@dimaslanjaka
Copy link

same here

Cannot use brightnucleus/country-codes's latest version v0.3.2 as it requires composer-plugin-api ^1 which is not satisfied by 
your platform.

In PackageDiscoveryTrait.php line 313:
                                                                                                                               
  Package brightnucleus/country-codes has requirements incompatible with your PHP version, PHP extensions and Composer versi   
  on:                                                                                                                          
    - brightnucleus/country-codes v0.3.2 requires composer-plugin-api ^1 which does not match your installed version 2.3.0.    


require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>...]

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

4 participants