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 Issue: danharrin/livewire-rate-limiting Version Conflict in v2.0 #75

Closed
achmadhadikurnia opened this issue Feb 2, 2025 · 3 comments · Fixed by #76
Closed

Comments

@achmadhadikurnia
Copy link

I'm encountering an issue when trying to install marjose123/filament-lockscreen v2.0 using Composer. The package requires danharrin/livewire-rate-limiting ^1.0, but my project has v2.0.1 installed, causing a dependency conflict.

Steps to Reproduce:

  1. Run the following command:
composer require marjose123/filament-lockscreen:"^2.0"
  1. Composer fails with the following error message:
The "2.0" constraint for "marjose123/filament-lockscreen" appears too strict and will likely not match what you want. See https://getcomposer.org/constraints
./composer.json has been updated
Running composer update marjose123/filament-lockscreen
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires marjose123/filament-lockscreen 2.0 -> satisfiable by marjose123/filament-lockscreen[v2.0.0].
    - marjose123/filament-lockscreen v2.0.0 requires danharrin/livewire-rate-limiting ^1.0 -> found danharrin/livewire-rate-limiting[v1.0.0, ..., v1.3.1] but the package is fixed to v2.0.1 (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.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
@MarJose123
Copy link
Owner

Are you using danharrin/livewire-rate-limiting separately in your project?

@achmadhadikurnia
Copy link
Author

Are you using danharrin/livewire-rate-limiting separately in your project?

No.

Here is my require on composer.json

    "require": {
        "php": "^8.2",
        "arcanedev/log-viewer": "^11.0",
        "bezhansalleh/filament-shield": "^3.3",
        "cviebrock/eloquent-sluggable": "^11.0",
        "filament/filament": "^3.2",
        "filament/spatie-laravel-media-library-plugin": "^3.2",
        "kalnoy/nestedset": "^6.0",
        "laravel/framework": "^11.31",
        "laravel/pulse": "^1.3",
        "laravel/tinker": "^2.9",
        "league/csv": "^9.21",
        "sentry/sentry-laravel": "^4.11"
    },
    "require-dev": {
        "barryvdh/laravel-debugbar": "^3.14",
        "fakerphp/faker": "^1.23",
        "laravel-lang/lang": "^15.11",
        "laravel/pail": "^1.1",
        "laravel/pint": "^1.13",
        "laravel/sail": "^1.26",
        "laravel/telescope": "^5.2",
        "mockery/mockery": "^1.6",
        "nunomaduro/collision": "^8.1",
        "pestphp/pest": "^3.7",
        "pestphp/pest-plugin-laravel": "^3.1",
        "roave/security-advisories": "dev-latest"
    },

@MarJose123
Copy link
Owner

try again to install by executing this composer command

composer require marjose123/filament-lockscreen

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

Successfully merging a pull request may close this issue.

2 participants