lightning-project icon indicating copy to clipboard operation
lightning-project copied to clipboard

Cannot composer create-project

Open dante1119 opened this issue 4 years ago • 4 comments

Hi, surely it's me , but I am trying to run : composer create-project acquia/lightning-project testlight always getting : Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2020-02-07/2869592-remove-update-warning-34.patch I'am running on centos 7, apache fpm and php 7.4.4 and MariaDB 5.5.64

Thankyou in advance for any suggestion

dante1119 avatar Apr 13 '20 18:04 dante1119

I have just been getting the same issue. did you ever find a solution to this?

penance316 avatar Jul 02 '20 16:07 penance316

Yup, same issue here. Brand new install fails on composer install.

Also on CentOS 7... will try on another platform.

ddrager avatar Sep 30 '20 15:09 ddrager

If someone can post a copy of the Composer output, that would be helpful to diagnose and debug this! :)

phenaproxima avatar Sep 30 '20 16:09 phenaproxima

CentOS 7.8.2003, PHP 7.4.11

When getting to composer install, fails on applying patches:

  - Installing symfony/validator (v4.4.14): Loading from cache
  - Installing symfony/translation (v4.4.14): Loading from cache
  - Installing symfony/serializer (v4.4.14): Loading from cache
  - Installing symfony/service-contracts (v2.2.0): Loading from cache
  - Installing symfony/dependency-injection (v4.4.14): Loading from cache
  - Installing symfony/console (v4.4.14): Loading from cache
  - Installing drupal/core (9.0.6): Loading from cache
  - Applying patches for drupal/core
    https://www.drupal.org/files/issues/2020-02-07/2869592-remove-update-warning-34.patch (2869592 - Disabled update module shouldn't produce a status report warning)
   Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2020-02-07/2869592-remove-update-warning-34.patch

                                                                                                                                                                                          
  [Exception]                                                                                                                                                                             
  Cannot apply patch 2869592 - Disabled update module shouldn't produce a status report warning (https://www.drupal.org/files/issues/2020-02-07/2869592-remove-update-warning-34.patch)!  
                                                                                                                                                                                          

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...

[ddrager@machine lightning]$ composer install
No patches supplied.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 100 installs, 0 updates, 0 removals
No patches supplied.
Gathering patches for dependencies. This might take a minute.
  - Installing drupal/search_api (1.17.0): Loading from cache
  - Installing drupal/pendo (1.0.0-alpha4): Downloading (100%)         
  - Installing drupal/ctools (3.4.0): Loading from cache
  - Installing drupal/jquery_ui (1.4.0): Downloading (100%)         
  - Installing drupal/jquery_ui_draggable (1.2.0): Downloading (100%)

After running composer again, install proceeds with the other patches. All of the patches it fails on:

 Cannot apply patch 2778565 - Multilingual support for Panelizer (https://www.drupal.org/files/issues/2020-03-23/2778565-47.patch)!  
 [Exception]                                                                                                                                                                
 Cannot apply patch 2878684 - Use String.match to correlate regions when switching Layouts in Panels IPE (https://www.drupal.org/files/issues/panels-ipe-2878684-3.patch)!  
                                                                                                           
 [Exception]                                                                                                                                                                             
 Cannot apply patch 2869592 - Disabled update module shouldn't produce a status report warning (https://www.drupal.org/files/issues/2020-02-07/2869592-remove-update-warning-34.patch)!  
                                                                                                                                                                                         
 [Exception]                                                                                                                                                 
 Cannot apply patch 3109317 - Run tests against Drupal 9 (https://www.drupal.org/files/issues/2020-05-15/autosave_form-1.1-core-version-requirement.patch)!  
              ```

ddrager avatar Sep 30 '20 16:09 ddrager