When adding Drupal Console using Composer, we are finding that the list of commands is not complete. How can I resolve the issue?
Installation steps:
- change to root directory (
/local/path/drupal-site
) - run
composer require drupal/console:~1.0 --prefer-dist --optimize-autoloader
- run
composer update drupal/console --with-dependencies
Steps to reproduce:
- Change to either Change to
drupal-site/vendor/bin/
ordrupal-site/vendor/drupal/console/bin
directory - run
drupal generate:form
- error message below is returned.
- change to root directory (
/local/path/drupal-site
) - run
vendor/bin/drupal generate:form
- error message below is returned again.
[ERROR] Command "generate:form", is not a valid command name.
Versions:
- Drupal core v8.5.5
- Composer 1.6.3
- Drupal console 1.8.0