-
Notifications
You must be signed in to change notification settings - Fork 519
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
Error installing geocoder-php/nominatim-provider #1191
Comments
Can you show your composer.json file with other packages ? After adding the package in composer.json you can try |
The issue seems to persist because some of the other providers still use v4.0 of "geocoder-php/common-http" but if you try to install the following you will see this error occuring
Just wondering why all the providers aren't using the same and the latest version of |
I tried to install all these packages and I don't have any error. I think you can try |
@ybert what version of the composer depends geocoder-php/common-http
geocoder-php/arcgis-online-provider 4.4.0 requires geocoder-php/common-http (^4.0)
geocoder-php/geo-plugin-provider 4.3.0 requires geocoder-php/common-http (^4.0)
geocoder-php/google-maps-provider 4.7.1 requires geocoder-php/common-http (^4.0)
geocoder-php/here-provider 0.7.0 requires geocoder-php/common-http (^4.0)
geocoder-php/locationiq-provider 1.4.0 requires geocoder-php/common-http (^4.0)
geocoder-php/mapbox-provider 1.4.0 requires geocoder-php/common-http (^4.0)
geocoder-php/mapquest-provider 4.3.0 requires geocoder-php/common-http (^4.0)
geocoder-php/open-cage-provider 4.6.0 requires geocoder-php/common-http (^4.0) composer require geocoder-php/nominatim-provider
Using version ^5.7 for geocoder-php/nominatim-provider
./composer.json has been updated
Running composer update geocoder-php/nominatim-provider
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 geocoder-php/nominatim-provider ^5.7 -> satisfiable by geocoder-php/nominatim-provider[5.7.0].
- geocoder-php/nominatim-provider 5.7.0 requires geocoder-php/common-http ^4.1 -> found geocoder-php/common-http[4.1.0, ..., 4.5.0] but the package is fixed to 4.0.x-dev (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. composer require geocoder-php/maptiler-provider
Using version ^1.1 for geocoder-php/maptiler-provider
./composer.json has been updated
Running composer update geocoder-php/maptiler-provider
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 geocoder-php/maptiler-provider ^1.1 -> satisfiable by geocoder-php/maptiler-provider[1.1.0].
- geocoder-php/maptiler-provider 1.1.0 requires geocoder-php/common-http ^4.1 -> found geocoder-php/common-http[4.1.0, ..., 4.5.0] but the package is fixed to 4.0.x-dev (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. @jbelien could you please confirm the same on your end that you are able to install them all together |
In fact ^4.0 means 4.* so it should install 4.1 if available. Did you try the composer update command with geocoder-php/common-http in it as shown in my last comment ? |
According to semantic versioning,
Right now I have already tried running |
With providers requiring geocoder-php/common-http ^4.0 and others requiring ^4.1 , I get the 4.5..0 installed. Can you provide your composer.json file ? |
I don't have a direct dependency or related dependency. I already posted the output for composer depends geocoder-php/common-http
geocoder-php/arcgis-online-provider 4.4.0 requires geocoder-php/common-http (^4.0)
geocoder-php/geo-plugin-provider 4.3.0 requires geocoder-php/common-http (^4.0)
geocoder-php/google-maps-provider 4.7.1 requires geocoder-php/common-http (^4.0)
geocoder-php/here-provider 0.7.0 requires geocoder-php/common-http (^4.0)
geocoder-php/locationiq-provider 1.4.0 requires geocoder-php/common-http (^4.0)
geocoder-php/mapbox-provider 1.4.0 requires geocoder-php/common-http (^4.0)
geocoder-php/mapquest-provider 4.3.0 requires geocoder-php/common-http (^4.0)
geocoder-php/open-cage-provider 4.6.0 requires geocoder-php/common-http (^4.0) |
When adding the package
geocoder-php/nominatim-provider
using composer, I get the following errorThe text was updated successfully, but these errors were encountered: