Quantcast
Channel: Active questions tagged symfony4 - Stack Overflow
Viewing all articles
Browse latest Browse all 3924

Issue while installing symfony/maker-bundle

$
0
0

I'm dealing with an application created with symfony 3.4 and updated to symfony 4.4, I need to update doctrine/inflector to 2.^ version to install symfony/make-bundle, with:

composer require symfony/maker-bundle --dev

I get:

  Problem 1    - Root composer.json requires symfony/maker-bundle ^1.43 -> satisfiable by symfony/maker-bundle[v1.43.0].    - symfony/maker-bundle v1.43.0 requires doctrine/inflector ^2.0 -> found doctrine/inflector[2.0.0, ..., 2.0.4] but the package is fixed to 1.4.4 (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.  Problem 2    - doctrine/doctrine-cache-bundle 1.4.0 requires doctrine/inflector ^2.0 -> found doctrine/inflector[2.0.0, ..., 2.0.4] but the package is fixed to 1.4.4 (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.    - doctrine/doctrine-bundle 1.12.13 requires doctrine/doctrine-cache-bundle ~1.2 -> satisfiable by doctrine/doctrine-cache-bundle[1.4.0].    - doctrine/doctrine-bundle is locked to version 1.12.13 and an update of this package was not requested.Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Then I tried with :

 composer require symfony/maker-bundle --dev -W

and I tried deleting composer.lock

But I can't install inflector v2


Viewing all articles
Browse latest Browse all 3924

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>