xoco70 / laravel-tournaments

Laravel Package that allows you to generate customizable tournaments trees. - This project repo is no longer being maintained
GNU General Public License v3.0
230 stars 50 forks source link

Error - Your requirements could not be resolved to an installable set of packages. #52

Closed mmickells closed 2 years ago

mmickells commented 2 years ago

I tried installing this package using the latest version of Laravel 8.76.2 and also Laravel version 7.29. However, each time I try to install this package I get the following error:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - kalnoy/nestedset[v4.3.5, ..., v4.x-dev] require illuminate/support ~5.7.0|~5.8.0 -> found illuminate/support[v5.7.0, ..., 5.8.x-dev] but these were not loaded, likely because it conflicts with another require.
    - kalnoy/nestedset[v4.3.0, ..., v4.3.1] require illuminate/support 5.2 - 5.5 -> found illuminate/support[v5.2.0, ..., 5.5.x-dev] but these were not loaded, likely because it conflicts with another require.
    - kalnoy/nestedset v4.3.2 requires illuminate/support 5.2 - 5.6 -> found illuminate/support[v5.2.0, ..., 5.6.x-dev] but these were not loaded, likely because it conflicts with another require.
    - kalnoy/nestedset v4.3.3 requires illuminate/support 5.2 - 5.7 -> found illuminate/support[v5.2.0, ..., 5.7.x-dev] but these were not loaded, likely because it conflicts with another require.
    - kalnoy/nestedset v4.3.4 requires illuminate/support 5.2 - 5.8 -> found illuminate/support[v5.2.0, ..., 5.8.x-dev] but these were not loaded, likely because it conflicts with another require.
    - xoco70/laravel-tournaments 0.16 requires kalnoy/nestedset ^4.3 -> satisfiable by kalnoy/nestedset[v4.3.0, ..., v4.x-dev].
    - Root composer.json requires xoco70/laravel-tournaments ^0.16.0 -> satisfiable by xoco70/laravel-tournaments[0.16].

You can also try re-running composer require with an explicit version constraint, e.g. "composer require xoco70/laravel-tournaments:*" to figure out if any version is installable, or "composer require xoco70/laravel-tournaments:^2.1" if you know which you need.

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

I'd appreciate some direction on have to resolve these errors.

Thank you.

xoco70 commented 2 years ago

Sorry, latest Laravel tested version supported is 5.8

If you want to use it with Laravel 8, it might not be so complicated, just change versions composer.json

But I guess there will have refactor, like factories for instance.