Commit
- Loading branch information
There are no files selected for viewing
16 comments
on commit 5006d0c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is due to a custom installer plugin interacting badly with Composer 2.
Please check which plugins you have installed. If you run for example composer diagnose -vvv somewhere on top of the output it should show Loading plugin Some\Class\Name.
One of these is most likely the cause for the problems, so you have to report the error on that plugin's repository. Or also you can try to composer update plugin/package --no-plugins to make sure you have the latest version of the plugin installed, perhaps it has been fixed already.
This commit here is just an example of how other plugins can also fix it. It's not related to the problem you are experiencing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi I also have the same problem, and I have very little experience with Openshift.
Although I have a different output from his, I can see in his case, it says "Failed to extract blue-tomato/elascticsearch-feeder".
From what I understand of your reply, the plugin "blue-tomato/elascticsearch-feeder" is the plugin that's causing the trouble correct? i.e. not the composer?
My question is, if I can't even install the plugin, how can I possibly update it? In my case at least, the log has just installed the plugin "wyrihaximus/twig-view" and shortly after "Failed to extract wyrihaximus/twig-view" followed by "cannot find or open /opt/app-root/src/vendor/composer/tmp-8b325c55671adf08e12a9a92d86c0f32" this composer path.
So is there nothing wrong with the composer then, and just the plugin? and how can I update it if the installation in the first place went wrong?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The yiisoft/yii2-composer update helped me.
I had the same error when trying to run composer install. I didn't need to update all the dependencies. Updating yiisoft/yii2-composer to 2.0.10 solved this problem.
composer require yiisoft/yii2-composer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The yiisoft/yii2-composer update helped me.
I had the same error when trying to run
composer install. I didn't need to update all the dependencies. Updatingyiisoft/yii2-composerto 2.0.10 solved this problem.composer require yiisoft/yii2-composer
use version 1.xxx is ok.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The yiisoft/yii2-composer update helped me.
I had the same error when trying to runcomposer install. I didn't need to update all the dependencies. Updatingyiisoft/yii2-composerto 2.0.10 solved this problem.composer require yiisoft/yii2-composeruse version 1.xxx is ok.
composer self-update --1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
composer self-update --1
If you do that, you're going back to composer 1, so that's not helpful, sorry. Composer 2 is way faster and uses less memory. It's the way of the future and rightly so. We need to deal with issues, not hide from them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both issues appear to be with composer deps?
Loading plugin PackageVersions\Installer (from composer/package-versions-deprecated)
Loading plugin UpdateHelper\ComposerPlugin (from kylekatarnls/update-helper)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be great to know if @Seldaek 's suggestions worked for others because it didn't work for me. composer diagnose -vvv didn't reveal any problematic plugins. composer global update used to work fine when I was on composer v1, so I'm sure my issue, which is the same @tiefenb's, must be related to composer v2 somehow. Ideas anyone, please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ola-mymed report a new issue with details on how to reproduce the issue and the name of the plugins perhaps so we can have a look.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
composer config -g repo.packagist composer https://packagist.org
That fixed it for me, hope that helps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Composer v2.
After a night of combining, it worked:
- Remove composer.lock
- composer clearcache
- composer install
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you have try all option and none work try delete whole vendor file if you have it somehow it's work for me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upgrading composer to version 2.2.5 from 2.1.6 fixed it for me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was using the docker image. I didn't realise mine was way out of date. I had to manually remove the image and pull it again.
docker image rm composer
docker pull composer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is due to a custom installer plugin interacting badly with Composer 2.
Please check which plugins you have installed. If you run for example
composer diagnose -vvvsomewhere on top of the output it should showLoading plugin Some\Class\Name.One of these is most likely the cause for the problems, so you have to report the error on that plugin's repository. Or also you can try to
composer update plugin/package --no-pluginsto make sure you have the latest version of the plugin installed, perhaps it has been fixed already.This commit here is just an example of how other plugins can also fix it. It's not related to the problem you are experiencing.
Bitcoin wallet_
bc1q4g7xu7l9nhl7f9jnjjq5y23ncfy2w6vg6e6l63

bc1q4g7xu7l9nhl7f9jnjjq5y23ncfy2w6vg6e6l63