You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a clean installation of drupal 8.2.1 on PHP 7.0.12 and I installed drupal console 1.0.0-rc6 locally using composer (console lives in drupal's vendor folder).
I have run drupal init --override --no-interaction without any problems and drupal list works perfectly.
The problem is that whenever i try to run config:export:content:type I get the following message
Error: Call to a member function discoverModules() on null in Drupal\Console\Command\Config\ExportContentTypeCommand->moduleQuestion() (line 26 of /home/sshlmserver/public_html/or/vendor/drupal/console/src/Command/Shared/ModuleTrait.php).
If I pass the --module option in the command (like --module=node) in order not to trigger the module question i get the following error
Error: Call to undefined method Drupal\Console\Command\Config\ExportContentTypeCommand::getDrupalService() in Drupal\Console\Command\Config\ExportContentTypeCommand->interact() (line 90 of /home/sshlmserver/public_html/or/vendor/drupal/console/src/Command/Config/ExportContentTypeCommand.php).
any ideas?
The text was updated successfully, but these errors were encountered:
I have a clean installation of drupal 8.2.1 on PHP 7.0.12 and I installed drupal console 1.0.0-rc6 locally using composer (console lives in drupal's vendor folder).
I have run drupal init --override --no-interaction without any problems and drupal list works perfectly.
The problem is that whenever i try to run config:export:content:type I get the following message
Error: Call to a member function discoverModules() on null in Drupal\Console\Command\Config\ExportContentTypeCommand->moduleQuestion() (line 26 of /home/sshlmserver/public_html/or/vendor/drupal/console/src/Command/Shared/ModuleTrait.php).
If I pass the --module option in the command (like --module=node) in order not to trigger the module question i get the following error
Error: Call to undefined method Drupal\Console\Command\Config\ExportContentTypeCommand::getDrupalService() in Drupal\Console\Command\Config\ExportContentTypeCommand->interact() (line 90 of /home/sshlmserver/public_html/or/vendor/drupal/console/src/Command/Config/ExportContentTypeCommand.php).
any ideas?
The text was updated successfully, but these errors were encountered: