Topic on Project:Support desk

composer update creates an error message

7
HandrikF (talkcontribs)
root:root$ composer update
The "wikimedia/composer-merge-plugin" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.1.0"). You may need to run composer update with the "--no-plugins" option.
> ComposerHookHandler::onPreUpdate
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires wikimedia/composer-merge-plugin 1.4.1 -> satisfiable by wikimedia/composer-merge-plugin[v1.4.1].
    - wikimedia/composer-merge-plugin v1.4.1 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.

I want to do a composer update and unfortunately I get the following error message.

Can anyone tell me a solution to this problem?

Malyacko (talkcontribs)

Please see the sidebar - which MW version is this about?

HandrikF (talkcontribs)

Sorry. The Mediawiki version is:MediaWiki 1.35.0

Bawolff (talkcontribs)

have you modified your composer files in any way?

HandrikF (talkcontribs)

no. I have not changed these. The last years I just updated Mediawiki and didn't touch composer. Now I wanted to see what this has to do with the composer. And see there, it generates an error.

HandrikF (talkcontribs)

Have partially solved the problem in which I entered this.

composer require wikimedia/composer-merge-plugin

Thank you very much for the help.

VietDuc19 (talkcontribs)

Thank you so much for your info. It's fixed my problem!

Reply to "composer update creates an error message"