-
-
Notifications
You must be signed in to change notification settings - Fork 553
Description
Issue title
[command:any] [ERROR] Class Drupal\Core\DrupalKernel does not exist. after a composer global update
###short description
After a composer global update, any drupal commands generates an error.
[ERROR] Class Drupal\Core\DrupalKernel does not exist.
PHP Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "console.configuration_manager". in /var/aegir/.composer/vendor/symfony/dependency-injection/ContainerBuilder.php:994
Problem/Motivation
Trying to update the console from 0.11.3, i am stuck with an error on any drupal console command:
-composer update drupal/console --with-dependencies : had no effect
-composer require drupal/console:~1.0 --prefer-dist --optimize-autoloader : had no effect
-drupal self-update ==> [ERROR] This instance of the CLI was not installed as a Phar archive. Update using: composer global update
-composer global update : generates
[ERROR] Class Drupal\Core\DrupalKernel does not exist.
PHP Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "console.configuration_manager". in /var/aegir/.composer/vendor/symfony/dependency-injection/ContainerBuilder.php:994
How can i fix his out ?
Details to include:
- Drupal version 8.3
- Console version 0.11.3,
Best regards,
M.dandonneau