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

dependency error with firebase/php-jwt and other packages #146

Open
bharatkmoon opened this issue Jan 6, 2024 · 2 comments
Open

dependency error with firebase/php-jwt and other packages #146

bharatkmoon opened this issue Jan 6, 2024 · 2 comments

Comments

@bharatkmoon
Copy link

I am not able to install the package because of dependency version error with many packages.

Problem 1
   - cybersource/rest-client-php[dev-december-release-2023, dev-master, dev-adding-disclaimer-in-beta-apis, 0.0.41, ..., 0.0.46] require cache/apcu-adapter >=1.1.0 -> satisfiable by cache/apcu-adapter[1.1.0, 1.1.x-dev, 1.2.0, 1.3.0].
   - cybersource/rest-client-php[dev-generator-with-logging-and-masking, 0.0.1, ..., 0.0.16] require firebase/php-jwt 5.0.0 -> found firebase/php-jwt[v5.0.0] but the package is fixed to v6.10.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
   - cybersource/rest-client-php[dev-test-fix-empty-body-param, dev-travis-trial, dev-transient_token, dev-masking-fix, dev-sensitive-logging, dev-logging-issue, 0.0.17, ..., 0.0.40] require firebase/php-jwt ^5.0.0 -> found firebase/php-jwt[v5.0.0, ..., v5.5.1] but the package is fixed to v6.10.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
   - cache/apcu-adapter 1.1.0 requires psr/cache ^1.0 -> found psr/cache[1.0.0, 1.0.1] but the package is fixed to 3.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
   - cache/apcu-adapter[1.1.x-dev, ..., 1.3.0] require psr/cache ^1.0 || ^2.0 -> found psr/cache[1.0.0, 1.0.1, 2.0.0] but the package is fixed to 3.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
   - Root composer.json requires cybersource/rest-client-php * -> satisfiable by cybersource/rest-client-php[dev-generator-with-logging-and-masking, dev-test-fix-empty-body-param, dev-masking-fix, dev-sensitive-logging, dev-logging-issue, dev-transient_token, dev-travis-trial, dev-december-release-2023, dev-master, dev-adding-disclaimer-in-beta-apis, 0.0.1, ..., 0.0.46, 9999999-dev].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require cybersource/rest-client-php:*" to figure out if any version is installable, or "composer require cybersource/rest-client-php:^2.1" if you know which you need.
@TrevorBradleyKN
Copy link

cache/apcu-adapter is supposed to only have PHP >=7.4 support. Not sure how this is supposed to be compatible with PHP 8+.

@willevanstyxan
Copy link

We need clarification on the ACPU requirement as it seems very restrictive and a lot of hosts do not support this at all.

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

3 participants