Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Composer skipping patches #7

Open
ugintl opened this issue Apr 11, 2020 · 1 comment
Open

Composer skipping patches #7

ugintl opened this issue Apr 11, 2020 · 1 comment

Comments

@ugintl
Copy link

ugintl commented Apr 11, 2020

Most of the patches did not apply and skipped. I think few did apply. It means that those which did not apply, were already applied. Here is the result after running the composer command.

D:\drupal\distributions>composer create-project acquia/df-project DF -s dev
Creating a "acquia/df-project" project at "./DF"
Installing acquia/df-project (dev-8.x-4.x 764d635)

DrupalComposer\DrupalScaffold\Plugin::scaffold

find . -mindepth 2 -type d -name .git | xargs rm -rf
'xargs' is not recognized as an internal or external command,
operable program or batch file.
Script find . -mindepth 2 -type d -name .git | xargs rm -rf handling the remove-git-submodules event returned with error code 255
Script @remove-git-submodules was called via post-update-cmd

D:\drupal\distributions>

@ugintl
Copy link
Author

ugintl commented Apr 25, 2020

The problem was on my side. For others with the same problem. I am on windows 10, Acquia Dev Desktop, Composer 1.10 and PHP 7.2. I did 2 things to solve it. 1. Added C:\Program Files\Git\usr\bin to my system path under environment variables. 2. Use cmd as a normal user and not administrator.

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

1 participant