Open gesinn-it-gea opened 4 years ago
Chameleon requires mediawiki/mediawiki: >=1.31
. The package mediawiki/mediawiki
is a virtual package defined by the pre-install-cmd
hook invoked in MW's composer.json
. So, by setting COMPOSER=composer.local.json
you will cause Composer to ignore composer.json
and therefore miss the definition of mediawiki/mediawiki
.
I was able to solve it splitting this into the following two composer calls:
COMPOSER=composer.local.json composer require --no-update mediawiki/chameleon-skin 2.1.0
composer update --no-dev mediawiki/chameleon-skin
Nice!
I 'll probably steal this for the install instructions.
@gesinn-it a PR that updates https://github.com/ProfessionalWiki/chameleon/blob/master/docs/installation.md with your findings is very welcome!
fails with
The above command usually works with other extensions installed via composer.
That's how my
composer.local.json
looks like:Did I miss something?
works without any issues