I have a Drupal 7 site that was not built with composerComposer. I have been using Drush 7 with it, but about a week ago, wd-show --taildrush wd-show --tail
stopped working, I'm not getting any output. I installed Drush 9, but amI'm having difficulty configuring it.
I created an xmlXML file, per the example., Instructions say to put aliases in $PROJECT/drush/sites/self.site.yml$PROJECT/drush/sites/self.site.yml
but I don't have a project root with composer.jsona ----composer.json
– can I get this to work without using composerComposer to build my site? Or is drushDrush 9 depending on the drupalDrupal site using composerComposer?
I'm running the local version of the site in MAMP on my Mac. I created sites/drush/sites/self.site.yml --sites/drush/sites/self.site.yml
– it contains:
local:
root: /Users/pglatz/dev/wdocs/wdocs-code/www
uri: 'https://www.whiskerdocs-local-qa.pglatz.com/'
local:
root: /Users/pglatz/dev/wdocs/wdocs-code/www
uri: 'https://www.whiskerdocs-local-qa.pglatz.com/'
The command I'm using is: drush9 @local --alias-path=/Users/pglatz/dev/wdocs/wdocs-code/www/sites/drush/sites --root=/Users/pglatz/dev/wdocs/wdocs-code/www
$ drush9 @local --alias-path=/Users/pglatz/dev/wdocs/wdocs-code/www/sites/drush/sites --root=/Users/pglatz/dev/wdocs/wdocs-code/www
When I run it, I get the error: Command wd-show was not found. Pass --root or a @siteAlias in order to run Drupal-specific commands.
Command wd-show was not found. Pass --root or a @siteAlias in order to run Drupal-specific commands.
But I am passing --root--root
and a site alias. Likely a dumb syntax error on my part, but I can't figure it out. Thanks for your help.What am I doing wrong? And how can I get Drush to be working properly again?