abouchereau / easyamap

Logiciel de commandes pour les AMAP
Other
4 stars 6 forks source link

Erreurs de dépendances au sein du composer.lock #13

Closed z3bra closed 2 years ago

z3bra commented 2 years ago

À l'installation de l'application (composer install) une erreur se produit, provenant des versions figées dans le lock file de composer:

$ composer install
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
    - ocramius/package-versions is locked to version 1.5.1 and an update of this package was not requested.
    - ocramius/package-versions 1.5.1 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
  Problem 2
    - symfony/flex is locked to version v1.4.8 and an update of this package was not requested.
    - symfony/flex v1.4.8 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
  Problem 3
    - ocramius/package-versions 1.5.1 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
    - ocramius/proxy-manager 2.2.3 requires ocramius/package-versions ^1.1.3 -> satisfiable by ocramius/package-versions[1.5.1].
    - ocramius/proxy-manager is locked to version 2.2.3 and an update of this package was not requested.
z3bra commented 2 years ago

Erreur liée à la version de composer utilisée. Il faut utiliser composer en version 1.x uniquement. Un downgrade est possible via la commande composer self-update --1