Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Drupal project task is failing with below errors #546

Open
marvinga opened this issue Jun 27, 2023 · 2 comments
Open

Create Drupal project task is failing with below errors #546

marvinga opened this issue Jun 27, 2023 · 2 comments

Comments

@marvinga
Copy link

I have tried everything and still even installed drush manually and still not able to bypass this error. Please help.

TASK [Create Drupal project.] **************************************************
skipping: [default]

TASK [Add drush to the Drupal site with Composer.] *****************************
skipping: [default]

TASK [Install Drupal.] *********************************************************
fatal: [default]: FAILED! => {"changed": false, "cmd": "vendor/bin/drush si -y '--site-name=Drupal Test' --account-name=admin --account-pass=admin '--db-url=mysql://drupal:********@localhost/drupal' --root=/var/www/drupal/web", "msg": "[Errno 2] No such file or directory: b'vendor/bin/drush'", "rc": 2, "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

@erkandem
Copy link

Removing the version constraint on drush version to install (11.x) helped completing the provisioning.
Seems some kind of incompatibility, which fails silently during the installation if 11.x is specified

@sedikitaja
Copy link

sedikitaja commented Apr 10, 2024

Also bumped into this. As @erkandem mentioned, removing :11.* from line 147 works.

Although simply rerunning vagrant provision still resulted in failures. To resolve it I had to run vagrant destroy followed by vagrant up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants