Closed ismailcherri closed 7 years ago
Same issue here (same Drupal console and Drupal core versions).
Try updating to latest DrupalConsole, executing from the site root directory
composer update drupal/console --with-dependencies
If using the Launcher, try updating it by executing from outside of site root directory:
drupal self-update
And finally rebuild cache executing from your drupal site:
drupal cr all
@jmolivas It worked!
I ran composer update and drupal cr all from the site directory and it works now.
Console version now is Drupal Console version 1.0.0-rc17
Many thanks :)
@ismailcherri Closing this one. Feel free to re-open if still happening after updating to the latest version.
@jmolivas this is still happening for me even after the suggeseted steps. Just updated to 1.0.0-rc19
@ismailcherri @peschee @MatteoBorgognoni please clear DrupalConsole cache by executing:
drupal cr all
@jmolivas I've already done that but the problem still there
@MatteoBorgognoni did you updated the Launcher as well?
@jmolivas I followed this:
composer update drupal/console --with-dependencies drupal self-update (on global console) drupal cr all
but the issue still happening
Same here. Followed the pattern of updating the console locally (core is rc21), self-updated launcher to rc25, drush cr all
(drupal core is 8.3.5)
Just running drupal --version
still getting
Argument 2 passed to Drupal\Console\Command\Config\ExportCommand::construct() must implement interface Drupal\Core\Config\StorageInterface, none given in ...vendor/drupal/console/src/Command/Config/ExportCommand.php on line 43
and
Argument 2 passed to Drupal\Console\Command\Config\ExportCommand::construct() must implement interface Drupal\Core\Config\StorageInterface, none given in Drupal\Console\Command\Config\ExportCommand->__construct() (line 43 of ...vendor/drupal/console/src/Command/Config/ExportCommand.php).
SOLVED: Following advice at https://github.com/hechoendrupal/drupal-console/issues/3352#issuecomment-309699952, I deleted ~/.console
and I'm back in business
I'm getting the following error when I try to run any console command:
Console version: 1.0.0-rc17 Drupal version: 8.3.1