Trying install this module with drush and it is throwing several errors:

Error: Cannot instantiate interface Drupal\Core\Cache\CacheBackendInterface in core/lib/Drupal/Component/DependencyInjection/Container.php on line 268 #0 /var/www/html/local-voda/core/lib/Drupal/Component/DependencyInjection/Container.php(177): Drupal\Component\DependencyInjection\Container->createService(Array, 'cache.admin_men...')
#1 core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php(71): Drupal\Component\DependencyInjection\Container->get('cache.admin_men...')
#2 core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php(33): Drupal\Core\Cache\CacheTagsInvalidator->getInvalidatorCacheBins()
#3 core/lib/Drupal/Core/Cache/Cache.php(145): Drupal\Core\Cache\CacheTagsInvalidator->invalidateTags(Array)
#4 core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(187): Drupal\Core\Cache\Cache::invalidateTags(Array)
#5core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php(31): Drupal\Core\Plugin\DefaultPluginManager->clearCachedDefinitions()
#6core/lib/Drupal/Core/ProxyClass/Plugin/CachedDiscoveryClearer.php(83): Drupal\Core\Plugin\CachedDiscoveryClearer->clearCachedDefinitions()
#7 core/lib/Drupal/Core/Extension/ModuleInstaller.php(200): Drupal\Core\ProxyClass\Plugin\CachedDiscoveryClearer->clearCachedDefinitions()
#8 core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php(83): Drupal\Core\Extension\ModuleInstaller->install(Array, true)
#9 /usr/local/bin/drush8/vendor/drush/drush/commands/core/drupal/environment.inc(131): Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array, true)
#10 /usr/local/bin/drush8/vendor/drush/drush/commands/core/drupal/environment.inc(198): drush_module_install(Array)
#11 /usr/local/bin/drush8/vendor/drush/drush/commands/pm/pm.drush.inc(1167): drush_module_enable(Array)
#12 /usr/local/bin/drush8/vendor/drush/drush/includes/command.inc(422): drush_pm_enable('admin_menu')
#13 /usr/local/bin/drush8/vendor/drush/drush/includes/command.inc(231): _drush_invoke_hooks(Array, Array)
#14 /usr/local/bin/drush8/vendor/drush/drush/includes/command.inc(199): drush_command('admin_menu')
#15 /usr/local/bin/drush8/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array)
#16 /usr/local/bin/drush8/vendor/drush/drush/includes/preflight.inc(66): Drush\Boot\BaseBoot->bootstrap_and_dispatch()
#17 /usr/local/bin/drush8/vendor/drush/drush/drush.php(12): drush_main()
#18 {main}
Error: Cannot instantiate interface Drupal\Core\Cache\CacheBackendInterface in Drupal\Component\DependencyInjection\Container->createService() (line 268 of /core/lib/Drupal/Component/DependencyInjection/Container.php).
Drush command terminated abnormally due to an unrecoverable error. [error]

Comments

sugandhkhanna2 created an issue. See original summary.

mchampsee’s picture

Have you tried rebuilding the cache?

dsnoeck’s picture

I have a similar issue, running drush cr output the same stack trace.