Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

Cannot composer create-project #117

Open
dante1119 opened this issue Apr 13, 2020 · 4 comments
Open

Cannot composer create-project #117

dante1119 opened this issue Apr 13, 2020 · 4 comments

Comments

@dante1119
Copy link

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

@penance316
Copy link

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

@ddrager
Copy link

ddrager commented Sep 30, 2020

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

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

@phenaproxima
Copy link
Collaborator

phenaproxima commented Sep 30, 2020

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

@ddrager
Copy link

ddrager commented Sep 30, 2020

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)!  
              ```

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants