Skip to content

Composer update/install fails by default #1137

@DomagojGojak

Description

@DomagojGojak

When you clone the project and try to install vendors you get this error by default:

- doctrine/phpcr-bundle 1.0.0 requires phpcr/phpcr-implementation 2.1.* -> no matching package found.
- symfony-cmf/menu-bundle 1.0.0 requires doctrine/phpcr-bundle 1.0.* -> satisfiable by doctrine/phpcr-bundle[1.0.0].
- Installation request for symfony-cmf/menu-bundle 1.0.* -> satisfiable by symfony-cmf/menu-bundle[1.0.0].

I assume that this is a minimum stability issue or something like that but it would bi nice to clone a project and run it without need to change composer.json before that (I know that this is not a Sylius related problem but developers will get this error).

The way I avoided this issue is that I removed the symfony-cmf components (all of them) from composer.json and added just these two:

"knplabs/knp-menu-bundle": "2.0.@dev",
"knplabs/knp-menu": "2.0.
@dev"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Help WantedIssues needing help and clarification.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions