if you have issues after upgrading drush-launcher to 0.8.0 and it doesn't work correctly anymore and you are running a composer based drupal with the composer.json outside the docroot, check your composer.json for the name in the json file. If it's drupal/drupal change it to something else (like myproject/drupal) and your drush-launcher will work again
background: drush-launcher uses drupal-finder and if it finds a composer.json that has as "name": "drupal/drupal" set, it assumes that the drupal root is in the same place as the composer.json
if you have issues after upgrading drush-launcher to 0.8.0 and it doesn't work correctly anymore and you are running a composer based drupal with the
composer.json
outside the docroot, check yourcomposer.json
for thename
in the json file. If it'sdrupal/drupal
change it to something else (likemyproject/drupal
) and your drush-launcher will work againbackground: drush-launcher uses drupal-finder and if it finds a
composer.json
that has as"name": "drupal/drupal"
set, it assumes that the drupal root is in the same place as thecomposer.json
for more background: https://github.com/uselagoon/lagoon-images/issues/54