-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
composer install does... nothing :( #355
Comments
Can you please provide your composer.json? |
sure here it is
|
I ended up doing same stuff as composer.json
apply-patches.sh
|
Can you try and remove the following line: |
I think you have to remove the |
Got the same behavior. Is the Because installing all dependence at source is much more longer than the dist method. |
@soullivaneuh No, dist works also. But with composer 2.1.x dist is the default value, also for dev dependencies. composer/composer#9603 |
I got same issue... |
Not mandatory, but significantly increases the chances that a patch will apply. Closing this -- |
This is closed as complete but I don't see a solution. I am having the same problem to this day on latest everything. The scenario is that I am deploying to Pantheon, a popular hosting service. My Pantheon and local are on the latest version of all dependencies and are in sync. I then introduce a new patch on my local. It works if I delete the composer/vendor package directory, then run composer update. It reinstalls and applies the patch. Likewise, "composer patches-repatch" works. But Pantheon doesn't do this. They run "composer --no-interaction --no-progress --prefer-dist --ansi install". The output of this command suggests there is nothing to update or install. The latching mechanism isn't triggered at all. Am I missing something @cweagans? |
Please open a new issue and provide all the details about your project. |
I have followed the documentation, added the following to my composer.json
And my patch located at the right place.
I then
rm -rf vendor
andcomposer install
but no patches are applied.In order for a patch to be ran I MUST run composer update, which I don't want (I am building a docker image) :
Any ideas ?
The text was updated successfully, but these errors were encountered: