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

Unable to install package in Laravel 11.33 #45

Open
chard1988 opened this issue Nov 26, 2024 · 0 comments
Open

Unable to install package in Laravel 11.33 #45

chard1988 opened this issue Nov 26, 2024 · 0 comments

Comments

@chard1988
Copy link

Hi and thank you for this package. I created a new project today and was planning to use this package for the crumbs. However, as I was trying to install the package, I get the following error:

composer require tabuna/breadcrumbs
./composer.json has been updated
Running composer update tabuna/breadcrumbs
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - tabuna/breadcrumbs[1.0, ..., 1.3.1] require laravel/framework ^7.0 -> found laravel/framework[v7.0.0, ..., v7.30.7] but it conflicts with your root composer.json require (^11.31).
    - tabuna/breadcrumbs[2.0.0, ..., 2.2.2] require laravel/framework ^8.0 -> found laravel/framework[v8.0.0, ..., v8.83.29] but it conflicts with your root composer.json require (^11.31).
    - tabuna/breadcrumbs[2.3.0, ..., 2.4.0] require laravel/framework ^8.16 -> found laravel/framework[v8.16.0, ..., v8.83.29] but it conflicts with your root composer.json require (^11.31).
    - tabuna/breadcrumbs 3.0.0 requires laravel/framework ^9.0 -> found laravel/framework[v9.0.0, ..., v9.52.18] but it conflicts with your root composer.json require (^11.31).
    - tabuna/breadcrumbs 4.0.0 requires laravel/framework ^10.0 -> found laravel/framework[v10.0.0, ..., v10.48.24] but it conflicts with your root composer.json require (^11.31).
    - tabuna/breadcrumbs 4.1.0 requires laravel/serializable-closure ^1.0 -> found laravel/serializable-closure[v1.0.0, ..., v1.3.7] but the package is fixed to v2.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - Root composer.json requires tabuna/breadcrumbs * -> satisfiable by tabuna/breadcrumbs[1.0, ..., 1.3.1, 2.0.0, ..., 2.4.0, 3.0.0, 4.0.0, 4.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 tabuna/breadcrumbs:*" to figure out if any version is installable, or "composer require tabuna/breadcrumbs:^2.1" if you know which you need.

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

I'm using the latest Laravel 11.33.2 framework. Any help or advice is much appreciated.

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

1 participant