Skip to content

Unable to install package in Laravel 11.33 #45

@chard1988

Description

@chard1988

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions