![]() "assets:install %PUBLIC_DIR%": "symfony-cmd" How to solve these / such Composer issues cleanly? ("Clean" means here: without resetting the project, running the across-the-board composer update, or making other brutal stuff with unpredictable side-effects.) Now the problem is, that Composer cannot install the needed version of the package symfony/cache, possibly " because it conflicts with another require". symfony/framework-bundle require symfony/cache ^5.2 -> found symfony/cache but these were not loaded, likely because it conflicts with another Restricting packages listed in "symfony/symfony" to "5.0.*" Running composer update symfony/framework-bundle -with-all-dependencies But when I try using the -with-all-dependencies option, as suggested in the error message: $ composer require -update-with-all-dependencies symfony/framework-bundle:^5.2 It hasn't worked, because the symfony/cache package is locked to the v5.0.11 version in composer.lock. composer.lock to their original content. Use the option -with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. Root composer.json requires symfony/framework-bundle ^5.2 -> satisfiable by symfony/framework-bundle. Make sure you list it as an argument for the update command. L update and that version does not match. symfony/framework-bundle require symfony/cache ^5.2 -> found symfony/cache but the package is fixed to v5.0.11 (lock file version) by a partia Your requirements could not be resolved to an installable set of packages. Loading composer repositories with package information Running composer update symfony/framework-bundle (The Composer version is 2.0.12.) $ composer require symfony/framework-bundle:^5.2 Now I want to upgrade Symfony to the ^v5.2. I'm writing a PHP application based on Symfony v5.0.11.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |