Answers.Body: <p><strong>Edit: As of 8-26-2021 the below command works just fine with current buildkit, it's just not in the civibuild docs yet afaik:</strong></p>
  <pre><code>civibuild create d9dev --type drupal9-clean --civi-ver master --url http://d9.localhost
  </code></pre>
  <p>As of today (4-21-2021 env Ubuntu 20.04), I used the command</p>
  <pre><code>civibuild create d9dev --type drupal9-clean --civi-ver master --url http://d9.localhost
  </code></pre>
  <p>Which ran into errors because it couldn't find a valid civicrm root (/vendor did not include a civicrm directory at this time). I needed to run the command, then manually:</p>
  <pre><code>composer config extra.enable-patching true
  composer config minimum-stability dev
  composer require civicrm/civicrm-asset-plugin:'~1.1'
  composer require civicrm/civicrm-{core,packages,drupal-8}:'~5.35'
  </code></pre>
  <p>Then I ran the same civibuild command again to finish out the build process and get the .sh file with login info etc. I ended up with a working copy of Drupal 9 version 9.0.12-dev and CiviCRM 5.36.0.</p>
  <p>Hope that's helpful!</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-04-21T20:59:26.183Z
Answers.LastActivityDate: 2021-08-26T17:24:13.297Z
Answers.LastEditDate: 2021-08-26T17:24:13.297Z
Answers.UserDisplayName: Eli Lisseck
Body: <p>Has anyone tried running <code>civibuild</code> recently to create a CiviCRM environment under Drupal 9?  I have been running it on a Ubuntu 20.4 virtual machine and hit various issues. To build <code>drupal9-clean</code> I had to copy <code>composer</code> from a running Drupal 9 instance to <code>buildkit/build/drupal9-clean/vendor</code> as it was not installed by <code>civibuild</code>.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-02-16T13:09:51.057Z
Comments.Text: About 2 months ago I did it for something and it seemed ok. The d9-master.demo.civicrm.org site is built daily using it. I remember there being some issues with composer v2 - not sure if that's been settled. Which version of composer do you have?
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-02-17T16:19:13.417Z
Comments.Text: Thanks - it wasn't composer that was broken, but the composer directory tree.  I've just built drupal9-demo, but it needed two passes.  Civibuild just seems a bit fragile.
Comments.UserDisplayName: Stephen Palmstrom
Tags: <civicrm-buildkit>
Title: Civibuild issues?
ThreadText: # Civibuild issues?
  
  (Asked by: username_0 on 2021-02-16)
  
  Has anyone tried running `civibuild` recently to create a CiviCRM environment under Drupal 9? I have been running it on a Ubuntu 20.4 virtual machine and hit various issues. To build `drupal9-clean` I had to copy `composer` from a running Drupal 9 instance to `buildkit/build/drupal9-clean/vendor` as it was not installed by `civibuild`.
  
  **Tags:** civicrm-buildkit
  
  > **Comments:**
  > **username_1**: About 2 months ago I did it for something and it seemed ok. The d9-master.demo.civicrm.org site is built daily using it. I remember there being some issues with composer v2 - not sure if that's been settled. Which version of composer do you have?  
  > **username_0**: Thanks - it wasn't composer that was broken, but the composer directory tree.  I've just built drupal9-demo, but it needed two passes.  Civibuild just seems a bit fragile.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2021-04-21. Score: 0
  
  Edit: As of 8-26-2021 the below command works just fine with current buildkit, it's just not in the civibuild docs yet afaik:
  civibuild create d9dev --type drupal9-clean --civi-ver master --url http://d9.localhost
  
  As of today (4-21-2021 env Ubuntu 20.04), I used the command
  civibuild create d9dev --type drupal9-clean --civi-ver master --url http://d9.localhost
  
  Which ran into errors because it couldn't find a valid civicrm root (/vendor did not include a civicrm directory at this time). I needed to run the command, then manually:
  composer config extra.enable-patching true
  composer config minimum-stability dev
  composer require civicrm/civicrm-asset-plugin:'~1.1'
  composer require civicrm/civicrm-{core,packages,drupal-8}:'~5.35'
  
  Then I ran the same civibuild command again to finish out the build process and get the .sh file with login info etc. I ended up with a working copy of Drupal 9 version 9.0.12-dev and CiviCRM 5.36.0.
  Hope that's helpful!
  
  
  ---
  
  