Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot apply patch #22

Open
konstantinvlasenko opened this issue May 18, 2022 · 2 comments
Open

Cannot apply patch #22

konstantinvlasenko opened this issue May 18, 2022 · 2 comments

Comments

@konstantinvlasenko
Copy link

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
Copy link

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

brew install gpatch

cweagans/composer-patches#172

@DieterHolvoet
Copy link

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

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

No branches or pull requests

2 participants