12/12/2023 0 Comments Drupal composer updateIn composer.json you can limit which versions you accept for a dependency. Q: From this page: What does it mean when `composer outdated` shows components that need updating, but the `composer update` command indicates that nothing needs to be updated?Ī: Nothing. I thought I’d put some Drupal/Composer/Drush FAQs here so I don’t have to keep searching for them. If you need to update Drupal core I hope that information helps. This Debug Academy page helped me find that solution. Including those that are root requirements. with-all-dependencies: Add also all dependencies of whitelisted packages to the whitelist, with-dependencies: Add also dependencies of whitelisted packages to the whitelist, Here’s some information on the differences between -with-dependencies versus -with-all-dependencies, from the Composer documentation: Update: I had that same problem on March 20, 2019, with the Drupal 8.6.13 security update, and once again the -with-all-dependencies flag solved the Drupal core update problem. This command did not work:Ĭomposer update drupal/core -with-dependenciesĬomposer update drupal/core -with-all-dependencies Today (August 1, 2018) I had a problem trying to get Composer to update my website from Drupal 8.5.5 to Drupal 8.5.6, where 8.5.6 is a security update. Installing a Drupal security update with Composer Suffice it to say, if you plan to keep working with Drupal 8, you’ll want to learn about how Composer works. I found the solution to the problem at this SO page. OUTPUT: Package "drupal/core" listed for update is not installed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |