Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation on Symfony 5.0 failed #2061

Closed
yapro opened this issue Jan 31, 2020 · 1 comment
Closed

Installation on Symfony 5.0 failed #2061

yapro opened this issue Jan 31, 2020 · 1 comment

Comments

@yapro
Copy link

yapro commented Jan 31, 2020

Details:

$ composer require friendsofsymfony/rest-bundle
Using version ^2.6 for friendsofsymfony/rest-bundle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "5.0.*"
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for friendsofsymfony/rest-bundle ^2.6 -> satisfiable by friendsofsymfony/rest-bundle[2.6.0].
    - friendsofsymfony/rest-bundle 2.6.0 requires symfony/config ^3.4|^4.3 -> no matching package found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, reverting ./composer.json to its original content.

I think in composer.json, in every line where 3.4|^4.3 is set, you need to add ' ^5.0`

@xabbuh
Copy link
Member

xabbuh commented Jan 31, 2020

see #2043

@xabbuh xabbuh closed this as completed Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants