Date Published: February 8, 2024
Warning: "Please install vendored drush for your site for better compatibility""
Issue¶
When deploying a new branch or tag you may get the following warning in your task log for Drupal 8 or later site:
Executing: ls -l /var/www/html/sitename.dev/docroot/vendor/bin/drush > /dev/null (as sitename.dev@staging-xxxx})
ls: cannot access '/var/www/html/sitename.dev/docroot/vendor/bin/drush'
: No such file or directory
WARN: vendor/bin/drush not found, falling back to system drush. Please install vendored drush for your site for better compatibility
Cause¶
The code does not have Drush installed via Composer or something is wrong with the Composer structure.
This warning does not impact your deployment.
Resolution¶
- Install Drush in your code via Composer.
- If Drush is installed confirm you have a correct composer structure. Composer files and vendor folder should be above the docroot.
If the warning persists, contact Acquia Support
Did not find what you were looking for?
If this content did not answer your questions, try searching or contacting our support team for further assistance.