Why is Drupal Core not updating via composer? We realized that our Drupal core version is outdated by two versions. We are currently running 8.5.3, but 8.5.5 has been released. Rather than updating directly two versions, we wanted to upgrade from 8.5.3 to 8.5.4 and then eventually from 8.5.4 to 8.5.5.

We tried the following but it didn't get updated. 

composer update drupal/core:8.5.4 --with-dependencies


Message after running composer command


  Nothing to install or update


I ran this command in the directory outside of docroot in C:\users\name\Sites\mysite\ which has the following folders


.git
config
docroot
drush
hooks
vendor


I also ran composer why-not drupal/core:8.5.4 and had the following message returned. 


  There is no installed package depending on "drupal/core" in versions
  not matching 8.5.4
After running composer why-not drupal/core:8.5.4 and doing some more research on the error message, I came across Upgrading from 8.5.0 to 8.5.1 using composer

This command did the trick for me. 

composer require drupal/core:8.5.4  webflo/drupal-core-require-dev --update-with-dependencies