drupalwxt / wxt-project

Composer project template for Drupal 9 sites built with the WxT distribution.
9 stars 7 forks source link

Cannot apply patch #22

Open konstantinvlasenko opened 2 years ago

konstantinvlasenko commented 2 years ago

Hello,

Getting the error: Cannot apply patch Enter drupal/core patch #2752443 while running composer create-project drupalwxt/wxt-project:4.2.4 command.

Any suggestions?

DieterHolvoet commented 1 year ago

This happens because the patch uses rename. Can be fixed by installing gpatch using brew, if using macOS:

brew install gpatch

https://github.com/cweagans/composer-patches/issues/172

DieterHolvoet commented 1 year ago

Another fix is to recreate the patch using git diff --no-renames.