Api-platform: Errors when installing the package

Created on 5 Mar 2021  Â·  3Comments  Â·  Source: api-platform/api-platform

API Platform version(s) affected: x.y.z

Description

when I want to install the api module to my Symfony project via the command line an error is displayed
How to reproduce


Create Symfony project and install api module in your peoject

api platform error

Possible Solution

Additional Context

Most helpful comment

All 3 comments

Hello
Maybe providing your composer.json file could help :) It seems like an usual composer requirements conflicts, and the error is kinda explicit : psr/cache is locked at 2.0.0 but api-platform requires ^1.0

I resolved this issue, I change the version Symfony

Provenance : Courrierhttps://go.microsoft.com/fwlink/?LinkId=550986 pour Windows 10

De : HugoFerrantnotifications@github.com
Envoyé le :lundi 8 mars 2021 09:29
À : api-platform/api-platformapi-platform@noreply.github.com
Cc : Pierre NAPOLETANOpierre.napoletano@outlook.fr; Authorauthor@noreply.github.com
Objet :Re: [api-platform/api-platform] Errors when installing the package (#1837)

Hello
Maybe providing your composer.json file could help :) It seems like an usual composer requirements conflicts, and the error is kinda explicit : psr/cache is locked at 2.0.0 but api-platform requires ^1.0

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/api-platform/api-platform/issues/1837#issuecomment-792573734, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANRPY27N7E4H3W5S5BXJSRTTCSDF7ANCNFSM4YUXJJYQ.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bastoune picture bastoune  Â·  3Comments

ajaunasse picture ajaunasse  Â·  3Comments

sverraest picture sverraest  Â·  3Comments

achref-riahi picture achref-riahi  Â·  3Comments

martijnhartlief picture martijnhartlief  Â·  3Comments