You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got the following error after running composer update --no-dev:
Problem 1
- mediawiki/core is present at version 1.0.0+no-version-set and cannot be modified by Composer
- mediawiki/maps[10.0.0] cannot be installed as that would require removing mediawiki/core[1.0.0+no-version-set]. They both replace mediawiki/semantic-maps and thus cannot coexist.
- Root composer.json requires mediawiki/maps ^10.0 -> satisfiable by mediawiki/maps[10.0.0].
I was able to resolve the issue by temporarily removing composer.local.json, running composer update --no-dev and then restoring composer.local.json and updating a second time, but I don't understand what caused the problem in the first place.
The mediawiki/core package doesn't seem to make any mention of mediawiki/semantic-maps, so I'm not sure where the conflict comes from.
I would appreciate any help understanding the what causes the problem so I don't have it in the future.
The text was updated successfully, but these errors were encountered:
The caliper-php repo went private. So I've switched the source to an
archive.
Found out that you can merge in extension composer.json instead of
duplicating it in composer.local.json, so I changed it to pull in the
caliper-php lib via the caliper extension's composer.json.
I tried merging in all extension composer.json, but it didn't work,
there was a conflict with the mediawiki/maps package, open issue here:
ProfessionalWiki/Maps#745
If it weren't for that, we could use the mediawiki suggested:
{
"extra": {
"merge-plugin": {
"include": [
"extensions/*/composer.json",
"skins/*/composer.json"
]
}
}
}
Which pulls in all extension/skin dependencies automatically.
Currently facing the same issue with a MediaWiki 1.41 installation.
Problem 1
- mediawiki/core is present at version dev-main and cannot be modified by Composer
- mediawiki/maps[10.1.0, 10.1.1, 10.1.2] cannot be installed as that would require removing mediawiki/core[dev-main]. They both replace mediawiki/semantic-maps and thus cannot coexist.
- Root composer.json requires mediawiki/maps ~10.1 -> satisfiable by mediawiki/maps[10.1.0, 10.1.1, 10.1.2].
I ran into the same issue described here by a reddit user: https://old.reddit.com/r/mediawiki/comments/1170jrz/maps_100_will_not_install_what_to_do/
With the following composer.local.json:
I got the following error after running
composer update --no-dev
:I was able to resolve the issue by temporarily removing
composer.local.json
, runningcomposer update --no-dev
and then restoringcomposer.local.json
and updating a second time, but I don't understand what caused the problem in the first place.The
mediawiki/core
package doesn't seem to make any mention ofmediawiki/semantic-maps
, so I'm not sure where the conflict comes from.I would appreciate any help understanding the what causes the problem so I don't have it in the future.
The text was updated successfully, but these errors were encountered: