-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Cannot install drush for Drupal 8.4 #3033
Comments
Try installing with 8.x-dev. We will tag a 8.1.15 release to fix this; would be helpful if some folks would help test. |
installing 8.x-dev fails too
|
Looks like we need to let the version of symfony/yml float now too. |
Same issue. I had installed Drush 8.1.14 as mentioned in the Drupal 8.4 release docs, but that did not work because of the dependency conflicts mentioned above. I installed Drush 9.x and that was fine. Er... fine for Drupal 8.4. The drush install had issues, but that's a separate concern. So what I meant to say by "fine" was it solved the dependency problem once I explicitly asked for compatible versions of symfony, drush and Drupal:
|
I made another change to the composer.json file in the Drush |
I was also able to: acquia/blt#2107 |
I'm still unable to install Drush with Drupal core 8.4.0. Here's what I've done...
Not sure how to proceed at this point... thanks, |
reflection-dockblock can be a problem. We only support version 2 and 3 in annotated command. I want to stop using this component in Drush & c. completely. Try We'll work on making this better. |
@greg-1-anderson thanks for the info. I tracked the phpdocumentor/reflection-docblock dependency to phpunit/phpunit. I tried running So, I did a I then tested my local by running a few drush commands and all appears to be working (phew!) Next, I tried re-adding phpunit/phpunit with So, at this point, I think all is well. Should I be on the lookout for a Drush 8.x or 9.x release to update to? thanks, |
Try As @greg-1-anderson indicated with his suggestion to remove composer.lock and vendor, |
@greg-1-anderson: "We only support version 2 and 3 in annotated command" Actually, I ran into the reflection-docblock issues as well and noticed that in fact in phpunit and annotated-command it allows: "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0" Only the direct dependency on reflection-docblock in drush is defined as This actually resulted in a couple more rounds of remove/require/update to deal with, but if drush had the same dependency definintion as annotated-command and phpunit, this would have worked for me with a lot less hassle. I didn't mention it above because I wanted to run a test first to see whether reflection-docblock 4 worked with drush. If it does, could we just have the same requirements across the board? @ultimike - that's basically what I did except
After this: Everything worked except drush which needed the patch 494f11a from #2912 I think I went overboard in terms of what I was deleting and removing, but was trying to get unstuck. My issue with reflection-docblock started because at one point I tried |
In my case another project had locked a too high version of phpdocumentor/reflection-docblock but drush ~8.1.12 only accepts ~2.0.0 Fixed with:
|
Similar issue with drupal 8.4.1:
|
Try again with 8.x-dev now that #3157 has been merged. If that works, we can make a new tagged release. If that does not work, try removing composer.lock and vendor and try again with 8.x-dev. |
it works, thanks |
I installed Drupal 8.4, but Composer said an error as below.
Maybe Drush has some dependency conflicts, so please check them.
The text was updated successfully, but these errors were encountered: