linnovate/openideal

composer require fails

KVRA opened this issue · 1 comments

KVRA commented
composer create-project linnovate/openideal-composer

Gives me

(...)
 Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2020-09-15/ckeditorplugin-3009308-28.patch
(...)
Gathering patches for root package.
Removing package drupal/ckeditor_mentions so that it can be re-installed and re-patched.
  - Removing drupal/ckeditor_mentions (dev-2.x)
    The package has modified files:
    M ckeditor_mentions.install
    M ckeditor_mentions.libraries.yml
    M ckeditor_mentions.module
    M ckeditor_mentions.routing.yml
    M css/plugins/mentions/ckeditor_mentions.css
    D js/plugins/mentions/plugin.js
    M src/Controller/CKMentionsController.php
    M src/MentionEventDispatcher.php
    M src/Plugin/CKEditorPlugin/Mentions.php
    Discard changes [y,n,v,d,?]? 
           y - discard changes and apply the uninstall
           n - abort the uninstall and let you manually clean things up
           v - view modified files
          d - view local modifications (diff)
         ? - print help

If I answer yes or no it gives me

In GitDownloader.php line 296:
UPDATE ABORTED

And if I run dush it also fails as I would expect

 [preflight] Config paths: /tmp/openideal-composer/vendor/drush/drush/drush.yml
 [preflight] Alias paths: /tmp/openideal-composer/web/drush/sites,/tmp/openideal-composer/drush/sites
 [preflight] Commandfile search paths: /tmp/openideal-composer/vendor/drush/drush/src
 [debug] Starting bootstrap to root [0.09 sec, 8.03 MB]

In BootstrapHook.php line 32:
                                                                      
  [Exception]                                                         
  Bootstrap failed. Run your command with -vvv for more information.  
                                                                      

Exception trace:
  at /tmp/openideal-composer/vendor/drush/drush/src/Boot/BootstrapHook.php:32
 Drush\Boot\BootstrapHook->initialize() at /tmp/openideal-composer/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php:34
 Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->callInitializeHook() at /tmp/openideal-composer/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php:27
 Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->initialize() at /tmp/openideal-composer/vendor/consolidation/annotated-command/src/CommandProcessor.php:145
 Consolidation\AnnotatedCommand\CommandProcessor->initializeHook() at /tmp/openideal-composer/vendor/consolidation/annotated-command/src/AnnotatedCommand.php:289
 Consolidation\AnnotatedCommand\AnnotatedCommand->initialize() at /tmp/openideal-composer/vendor/symfony/console/Command/Command.php:221
 Symfony\Component\Console\Command\Command->run() at /tmp/openideal-composer/vendor/symfony/console/Application.php:1005
 Symfony\Component\Console\Application->doRunCommand() at /tmp/openideal-composer/vendor/symfony/console/Application.php:255
 Symfony\Component\Console\Application->doRun() at /tmp/openideal-composer/vendor/symfony/console/Application.php:148
 Symfony\Component\Console\Application->run() at /tmp/openideal-composer/vendor/drush/drush/src/Runtime/Runtime.php:118
 Drush\Runtime\Runtime->doRun() at /tmp/openideal-composer/vendor/drush/drush/src/Runtime/Runtime.php:49
 Drush\Runtime\Runtime->run() at /tmp/openideal-composer/vendor/drush/drush/drush.php:72
 require() at /tmp/openideal-composer/vendor/drush/drush/drush:4

I'm a noob, if it is not an issue I'm really sorry
I'm running with composer version 1 (version 2 had failed faster), Ubuntu 20,mariadb (Ver 15.1 Distrib 10.3.25-MariaDB) and php 7.4

Pleas try the last version 3.0.9.1 which uses composer 2, which is really more memory efficient
PHP 7.4 is required. It won't work with PHP 8, 8.1.

Just run:
composer create-project linnovate/openideal-composer openideal