Answers.Body: <p>The memory problem is real - composer does that. You always need to <code>export COMPOSER_MEMORY_LIMIT=-1</code>.</p>
  <p>For the conflict, is this drupal 9.1? You can try adding <code>&quot;minimum-stability&quot;: &quot;dev&quot;</code> to composer.json.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-03T19:05:30.670Z
Answers.Text: OK I added the -W parameter to the composer thus
  
  composer -W require civicrm/civicrm-{core,packages,drupal-8}:'~5.34.0’ then it worked
Answers.UserDisplayName: Tony Horrocks
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-03T19:10:07.843Z
Answers.Text: Cool. There always seems to be some trial and error with composer and it's different in each environment.
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-03T20:05:11.497Z
Answers.Text: Also I noticed I had an incorrect comma at the end which was breaking everything. Sigh.
Answers.UserDisplayName: Tony Horrocks
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-03T14:06:52.830Z
Answers.LastActivityDate: 2021-03-03T14:06:52.830Z
Answers.UserDisplayName: Demerit
Body: <p>I'm using the current instructions to get the current version of CiviCRM for Drupal 8</p>
  <pre><code>[play@ceres web]$ composer require civicrm/civicrm-{core,packages,drupal-8}:'~5.35'
  </code></pre>
  <p>It keeps giving me this error</p>
  <pre><code>- The requested package civicrm/civicrm-core ~5.35 is satisfiable by civicrm/civicrm-core[5.35.x-dev] but these conflict with your requirements or minimum-stability.
  </code></pre>
  <p>I'm then trying</p>
  <pre><code>composer require civicrm/civicrm-{core,packages,drupal-8}:'~5.34.0’
  </code></pre>
  <p>and it just hangs.</p>
  <p>Any ideas?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-03-03T10:56:13.223Z
Comments.Text: Im now getting the message 'killed' and it's running through 1gb memory, which can't be right.....
Comments.UserDisplayName: Tony Horrocks
Tags: <drupal><installation><composer>
Title: Keep getting this error on Composer require
ThreadText: # Keep getting this error on Composer require
  
  (Asked by: username_0 on 2021-03-03)
  
  I'm using the current instructions to get the current version of CiviCRM for Drupal 8
  
  ```
  [play@ceres web]$ composer require civicrm/civicrm-{core,packages,drupal-8}:'~5.35'
  
  ```
  
  It keeps giving me this error
  
  ```
  - The requested package civicrm/civicrm-core ~5.35 is satisfiable by civicrm/civicrm-core[5.35.x-dev] but these conflict with your requirements or minimum-stability.
  
  ```
  
  I'm then trying
  
  ```
  composer require civicrm/civicrm-{core,packages,drupal-8}:'~5.34.0’
  
  ```
  
  and it just hangs.
  
  Any ideas?
  
  **Tags:** drupal, installation, composer
  
  > **Comments:**
  > **username_0**: Im now getting the message 'killed' and it's running through 1gb memory, which can't be right.....  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-03-03. Score: 1
  
  The memory problem is real - composer does that. You always need to `export COMPOSER_MEMORY_LIMIT=-1`.
  
  For the conflict, is this drupal 9.1? You can try adding `"minimum-stability": "dev"` to composer.json.
  
  > **Comments:**
  > **username_0**: OK I added the -W parameter to the composer thus  composer -W require civicrm/civicrm-{core,packages,drupal-8}:'~5.34.0’ then it worked  
  > **username_1**: Cool. There always seems to be some trial and error with composer and it's different in each environment.  
  > **username_0**: Also I noticed I had an incorrect comma at the end which was breaking everything. Sigh.  
  
  ---
  
  