Answers.Body: <p>The solution here is to either install CiviCRM before drush - or if installing on an existing site or if that fails you can help composer pick the right version</p>
  <p>via
  composer  require civicrm/civicrm-{core,packages,drupal-8}:&quot;5.55.1&quot;  &quot;consolidation/site-alias:^3.1.6&quot; -W</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-09T20:51:18.293Z
Answers.LastActivityDate: 2022-11-09T20:51:18.293Z
Answers.UserDisplayName: Luke Stewart
Body: <p>Currently if you install Drupal 9, Drush then CiviCRM you end up with a Composer &quot;Problem&quot; due to Drush requiring consolidation/site-alias (^3.1.6 || ^4) and composer picking the v4 version which then requires consolidation/site-alias 4.0.0  requires symfony/filesystem (^5.4 || ^6)</p>
  
Tags: <drupal-9><composer>
Title: Installing CiviCRM on a Drupal 9 site with Drush 11 conflict due to symfony/filesystem ~4.4 requirement
ThreadText: # Installing CiviCRM on a Drupal 9 site with Drush 11 conflict due to symfony/filesystem ~4.4 requirement
  
  (Asked by: username_0 on 2022-11-09)
  
  Currently if you install Drupal 9, Drush then CiviCRM you end up with a Composer "Problem" due to Drush requiring consolidation/site-alias (^3.1.6 || ^4) and composer picking the v4 version which then requires consolidation/site-alias 4.0.0 requires symfony/filesystem (^5.4 || ^6)
  
  **Tags:** drupal-9, composer
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2022-11-09. Score: 2
  
  The solution here is to either install CiviCRM before drush - or if installing on an existing site or if that fails you can help composer pick the right version
  
  via
  composer require civicrm/civicrm-{core,packages,drupal-8}:"5.55.1" "consolidation/site-alias:^3.1.6" -W
  
  
  ---
  
  