diff --git a/core/lib/Drupal/Core/Extension/ModuleInstaller.php b/core/lib/Drupal/Core/Extension/ModuleInstaller.php
index 7323af67e9188f370a5d909fc608a960451bf065..5bafe151af0fd3364ac317175202cb751a1310ea 100644
--- a/core/lib/Drupal/Core/Extension/ModuleInstaller.php
+++ b/core/lib/Drupal/Core/Extension/ModuleInstaller.php
@@ -352,6 +352,11 @@ public function install(array $module_list, $enable_dependencies = TRUE) {
         // @see https://www.drupal.org/node/2208429
         \Drupal::service('theme_handler')->refreshInfo();
 
+        // Modules may provide single directory components which are added to
+        // the core library definitions rather than the module itself, this
+        // requires the library discovery cache to be rebuilt.
+        \Drupal::service('library.discovery')->clearCachedDefinitions();
+
         // Allow the module to perform install tasks.
         $this->moduleHandler->invoke($module, 'install', [$sync_status]);