SemExpert / Magento2-language-es_cl

Magento2 Spanish (Chile) language pack
2 stars 2 forks source link

Error al usar composer #5

Open techroomDiego opened 4 years ago

techroomDiego commented 4 years ago

Al momento de ejecutar el comando para descargar el pack, aparece el siguiente error en la consola:

[InvalidArgumentException] Could not find a matching version of package semexpert/Magento2-language-es_cl. Check the package spelling, your version con straint and that the package is available in a stability which matches your minimum-stability (stable).

alvaromoralesa commented 4 years ago

quizá te falta agregar el repositorio a composer.json `"repositories": [ { "type":"package", "package": { "name": "semexpert/magento2-language-es_cl", "version":"master", "source": { "url": "https://github.com/SemExpert/Magento2-language-es_cl.git", "type": "git", "reference":"master" } } }

],`

además si te sigue dando problemas con la estabilidad mínima, añade "minimum-stability": "alpha", "prefer-stable": true,

a la misma altura de jerarquia que repositories.

"minimum-stability": "alpha", "prefer-stable": true, "repositories": [ { "type": "composer",

c:

alvaromoralesa commented 4 years ago

Esto en tu archivo composer.json

"minimum-stability": "alpha", 
    "prefer-stable": true,
    "repositories": [
        {
            "type": "composer",
            "url": "https://repo.magento.com/"
        },
        {
            "type":"package",
            "package": {
                "name": "semexpert/magento2-language-es_cl",
                "version":"master",
                "source": {
                    "url": "https://github.com/SemExpert/Magento2-language-es_cl.git",
                    "type": "git",
                    "reference":"master"
                }
            }
        }
    ],