Hallo!
Ich betreibe derzeit Contao 5.2.2 und möchte gerne die oveleon/contao-cookiebar installieren. Füge ich diese im Contao-Manager (v 1.7.0) hinzu und mache einen Testlauf mit allen Paketen, so bekomme ich folgende Fehlermeldung:
Code:
> Resolving dependencies using Composer Cloud v3.6.0-1-g9d9036c
[6.9MiB/0.18s] Loading composer repositories with package information
[68.0MiB/7.07s] Updating dependencies
[131.7MiB/7.62s] Your requirements could not be resolved to an installable set of packages.
[131.7MiB/7.62s]
Problem 1
- contao/core-bundle[4.10.0, ..., 4.10.4] require php ^7.2 -> your php version (8.1.22.0) does not satisfy that requirement.
- Root composer.json requires oveleon/contao-cookiebar ^1.13 -> satisfiable by oveleon/contao-cookiebar[1.13.0, 1.13.1].
- contao/newsletter-bundle 5.2.2 requires contao/core-bundle 5.2.2 -> satisfiable by contao/core-bundle[5.2.2].
- Conclusion: don't install contao/core-bundle 5.2.2 (conflict analysis result)
- contao/newsletter-bundle 5.2.1 requires contao/core-bundle 5.2.1 -> satisfiable by contao/core-bundle[5.2.1].
- Conclusion: don't install contao/core-bundle 5.2.1 (conflict analysis result)
- oveleon/contao-cookiebar[1.13.0, ..., 1.13.1] require contao/core-bundle ^4.9.28 -> satisfiable by contao/core-bundle[4.9.28, ..., 4.13.30].
- You can only install one version of a package, so only one of these can be installed: contao/core-bundle[4.9.28, ..., 4.13.30, 5.0.0, ..., 5.2.2].
- contao/newsletter-bundle 5.2.0 requires contao/core-bundle 5.2.0 -> satisfiable by contao/core-bundle[5.2.0].
- Root composer.json requires contao/newsletter-bundle ^5.2 -> satisfiable by contao/newsletter-bundle[5.2.0, 5.2.1, 5.2.2].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
[131.7MiB/7.62s] <warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
[39.2MiB/7.69s] Memory usage: 39.2MB (peak: 176.67MB), time: 7.7s.
[39.2MiB/7.69s] Finished Composer Cloud resolving.
# Cloud Job ID xxx failed
Ich verstehe das trotz einiger Recherche nicht. Ich habe doch PHP 8.1.x und bei der Contao Cookiebar ist angegeben, dass sie php >=7.2 benötigt. Warum funktioniert das denn nicht? Wahrscheinlich ist die Lösung ganz einfach...
Vielen Dank schon jetzt für eure Hilfe!
Lesezeichen