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

Upgrade to Laravel 10 fails #193

Closed
daniel-omnistock opened this issue Feb 15, 2023 · 2 comments
Closed

Upgrade to Laravel 10 fails #193

daniel-omnistock opened this issue Feb 15, 2023 · 2 comments

Comments

@daniel-omnistock
Copy link

daniel-omnistock commented Feb 15, 2023

When trying to upgrade to Laravel 10 I get this composer error:

- eklundkristoffer/seedster 5.0 requires illuminate/support 5.5.*|5.6.*|5.7.*|5.8.*|6.*|^7.0|^8.0|^9.0 -> satisfiable by illuminate/support[v5.5.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.0].

So, it seems like the eklundkristoffer/seedster dependency in the composer.json should be updated to ^7.0.

@alkoumi
Copy link

alkoumi commented Feb 16, 2023

Same thing here installing to new project with laravel 10

composer require jeremykenedy/laravel-roles
./composer.json has been updated
Running composer update jeremykenedy/laravel-rolesase/ lang/ node_modules/ public/ resources/ routes/ storage/ tests/ vendor/
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- jeremykenedy/laravel-roles v9.1.0 requires eklundkristoffer/seedster ^5.0 -> satisfiable by eklundkristoffer/seedster[5.0].
- jeremykenedy/laravel-roles[v1.0.0, ..., v1.0.1] require laravel/framework 5.4.* -> found laravel/framework[v5.4.0, ..., v5.4.36] but it conflicts with your root composer.json require (^10.0).
- jeremykenedy/laravel-roles v1.1.1 requires laravel/framework 5.3.|5.4.|5.5.* -> found laravel/framework[v5.3.0, ..., v5.5.50] but it conflicts with your root composer.json require (^10.0).
- jeremykenedy/laravel-roles v1.2.0 requires laravel/framework 5.3.|5.4.|5.5.|5.6. -> found laravel/framework[v5.3.0, ..., v5.6.40] but it conflicts with your root composer.json require (^10.0).
- jeremykenedy/laravel-roles v1.3.0 requires laravel/framework 5.3.|5.4.|5.5.|5.6.|5.7.* -> found laravel/framework[v5.3.0, ..., v5.7.29] but it conflicts with your root composer.json require (^10.0).
- jeremykenedy/laravel-roles[v1.4.0, ..., v1.7.0, v2.0.0, ..., v2.1.0] require laravel/framework 5.3.|5.4.|5.5.|5.6.|5.7.|5.8. -> found laravel/framework[v5.3.0, ..., v5.8.38] but it conflicts with your root composer.json require (^10.0).
- jeremykenedy/laravel-roles[v2.2.0, ..., v2.3.1] require laravel/framework 5.3.|5.4.|5.5.|5.6.|5.7.|5.8.|6.* -> found laravel/framework[v5.3.0, ..., v5.8.38, v6.0.0, ..., v6.20.44] but it conflicts with your root composer.json require (^10.0).
- jeremykenedy/laravel-roles[v2.3.3, ..., v2.9.0, v3.0.0, ..., v3.8.0, v4.0.0] require php ^7.2 -> your php version (8.1.14) does not satisfy that requirement.
- jeremykenedy/laravel-roles[v5.0.0, ..., v5.1.0, v6.0.0, v7.0.0] require laravel/framework 5.3.|5.4.|5.5.|5.6.|5.7.|5.8.|6.|7.|8.* -> found laravel/framework[v5.3.0, ..., v5.8.38, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but it conflicts with your root composer.json require (^10.0).
- jeremykenedy/laravel-roles[v8.0.0, ..., v8.1.0, v9.0.0] require laravel/framework 5.3.|5.4.|5.5.|5.6.|5.7.|5.8.|6.|7.|8.|^9.0 -> found laravel/framework[v5.3.0, ..., v5.8.38, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.0] but it conflicts with your root composer.json require (^10.0).
- eklundkristoffer/seedster 5.0 requires illuminate/support 5.5.
|5.6.|5.7.|5.8.|6.|^7.0|^8.0|^9.0 -> found illuminate/support[v5.5.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.0] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires jeremykenedy/laravel-roles * -> satisfiable by jeremykenedy/laravel-roles[v1.0.0, ..., v1.7.0, v2.0.0, ..., v2.9.0, v3.0.0, ..., v3.8.0, v4.0.0, v5.0.0, v5.1.0, v6.0.0, v7.0.0, v8.0.0, v8.1.0, v9.0.0, v9.1.0].

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 jeremykenedy/laravel-roles:*" to figure out if any version is installable, or "composer require jeremykenedy/laravel-roles:^2.1" if you know which you need.

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

@jeremykenedy
Copy link
Owner

Fixed with #196

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

3 participants