markaspot / mark-a-spot

Public Civic Issue Tracking and Crowdsourcing / Mapping Platform based on Drupal. Open311 Server and Client Software
http://mark-a-spot.com
55 stars 30 forks source link

Outdated version for leaflet in composer.json breaks install/update #52

Closed carlosmirandalevy closed 7 years ago

carlosmirandalevy commented 7 years ago

Install/Update via composer fails due to outdated version of leaflet being required on composer.json:

composer install
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for markaspot/markaspot_map dev-8.x-3.x -> satisfiable by markaspot/markaspot_map[dev-8.x-3.x].
    - markaspot/markaspot_map dev-8.x-3.x requires leaflet-mas/leaflet 1.0.3 -> no matching package found.

Updating leaflet from 1.0.2 to 1.0.3 on composer.json, fixes this: line 22 & 25

            "type": "package",
            "package": {
                "name": "leaflet-mas/leaflet",
                "version": "v1.0.3",
                "type": "drupal-library",
                "dist": {
                    "url": "https://github.com/Leaflet/Leaflet/archive/v1.0.3.zip",
                    "type": "zip"
                }

line 228 "leaflet-mas/leaflet": "1.0.3",

markaspot commented 7 years ago

This should be resolved by now: https://github.com/markaspot/mark-a-spot/blob/master/composer.json#L22

MickeyBG commented 6 years ago

I downloaded the last version of markaspot and i have this error message ¿Any Idea?

` composer install

DrupalProject\composer\ScriptHandler::checkComposerVersion Loading composer repositorUpdating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1

Potential causes:

Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.`