Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.
This repository was archived by the owner on May 30, 2024. It is now read-only.

Symfony 7 error on dependencies #63

@jankod

Description

@jankod

When I try to add media-bundle to symfony 7 project I got this error:

composer require  ranky/media-bundle      

./composer.json has been updated
Running composer update ranky/media-bundle
Loading composer repositories with package information
Restricting packages listed in "symfony/symfony" to "7.0.*"
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - ranky/media-bundle[v1.0.0, ..., v1.3.1] require symfony/framework-bundle ^5.4 || ^6.0 -> found symfony/framework-bundle[v5.4.0, ..., v5.4.35, v6.0.0, ..., v6.4.3] but it conflicts with your root composer.json require (7.0.*).
    - ranky/media-bundle[v1.4.0, ..., v1.4.2] require doctrine/orm ^2.6 -> found doctrine/orm[v2.6.0, ..., 2.18.0] but it conflicts with your root composer.json require (^3.0).
    - Root composer.json requires ranky/media-bundle * -> satisfiable by ranky/media-bundle[v1.0.0, ..., v1.4.2].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require ranky/media-bundle:*" to figure out if any version is installable, or "composer require ranky/media-bundle:^2.1" if you know which you need.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions