Problem/Motivation
The service definition "router.builder" does not exist. in
Symfony\Component\DependencyInjection\ContainerBuilder->getDefinition()
(line 690 of
/www/drupal-8.x/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php).
Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: The service definition "router.builder" does not exist. in Symfony\Component\DependencyInjection\ContainerBuilder->getDefinition() (line 690 of /www/drupal-8.x/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php).
Drush command terminated abnormally due to an unrecoverable error. [error]
Done.
Site install functions fine, so it's not breaking everything.
Steps to reprodoce:
- Clone latest HEAD of drush
- Clone latest HEAD of 8.x drupal core
- drush si
- drush cc all
Comments
Comment #1
moshe weitzman commentedIt is a core issue.
Comment #2
yesct commentedduplicate of #1801082: drupal_flush_all_caches() assumes a web request - "The service definition "router.builder" does not exist. " I think.