I'm using https://github.com/drupal-composer/drupal-project and get an error when starting drush:

[~/public_html/drupal]# alias drush="~/.composer/vendor/bin/drush"
[~/public_html/drupal]# drush
[error]  Drush command terminated abnormally due to an unrecoverable error.
 Error: Cannot declare class Drush\Commands\DrushCommands, because the name is already in use in /home/myuser/.composer/vendor/drush/drush/src/Commands/DrushCommands.php, line 12 

What am I missing oder messing up?

1 Answer 1


I had to use another drush location. With the one in [~/public_html/drupal/vendor/drush/drush] everything seems to work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.