Quantcast
Viewing latest article 10
Browse Latest Browse All 212

Problema para instala el SDK de mercado pago en LARAVEL 8

A la hora de instalar el SDK en un proyecto que no usa laravel sino php puro todo bien.

El tema es que al querer instalarlo usando el comando:

composer require "mercadopago/dx-php"

En mi proyecto con laravel 8 (que uso con jetstream) me tira el siguiente error:

Your requirements could not be resolved to an installable set ofpackages.

Problem 1
- mercadopago/dx-php[2.2.0, ..., 2.2.1] require doctrine/common ^2.6 -> satisfiable by doctrine/common[v2.6.0, ..., 2.13.x-dev].
- doctrine/common[v2.6.0, ..., 2.8.x-dev] require doctrine/inflector 1.* -> found doctrine/inflector[v1.0, ...,1.4.x-dev] but the package is fixed to 2.0.3 (lock file version) by a partial update and that version does not match. Make sure you list itas an argument for the update command.
- doctrine/common[v2.9.0, ..., 2.13.x-dev] require doctrine/inflector ^1.0 -> found doctrine/inflector[v1.0, ...,1.4.x-dev] but the package is fixed to 2.0. 3 (lock file version) by a partial update and that version does not match. Make sure you list itas an argument for the update command.
- Root composer.json requires mercadopago/dx-php ^2.2 -> satisfiable by mercadopago/dx-php[2.2.0, 2.2.1].

Use the option --with-all-dependencies (-W) to allow upgrades,downgrades and removals for packages currently locked to specificversions.

Installation failed, reverting ./composer.json and ./composer.lock totheir original content.

Lo que hice es actualizar mi composer y sigue el error.

Image may be NSFW.
Clik here to view.
introducir la descripción de la imagen aquí


Viewing latest article 10
Browse Latest Browse All 212

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>