tymondesigns / jwt-auth

🔐 JSON Web Token Authentication for Laravel & Lumen
https://jwt-auth.com
MIT License
11.23k stars 1.55k forks source link

Update lcobucci/jwt package version #2265

Open qomineko opened 3 weeks ago

qomineko commented 3 weeks ago

lcobucci/jwt package mismatch

While install getting error:

 Problem 1
    - tymon/jwt-auth[2.1.0, ..., 2.1.1] require lcobucci/jwt ^4.0 -> found lcobucci/jwt[4.0.0, ..., 4.3.0] but the package is fixed to 5.3.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 tymon/jwt-auth ^2.1 -> satisfiable by tymon/jwt-auth[2.1.0, 2.1.1].

Your environment

Q A
Bug? yes
New Feature? no
Framework Laravel
Framework version 11.10
Package version 2.1
PHP version 8.3

Steps to reproduce

Make a fresh laravel project, try to install tymon/jwt-auth:^2.1

sail composer require tymon/jwt-auth:^2.1

Expected behaviour

Package installed.

Actual behaviour

Getting error.

 Problem 1
    - tymon/jwt-auth[2.1.0, ..., 2.1.1] require lcobucci/jwt ^4.0 -> found lcobucci/jwt[4.0.0, ..., 4.3.0] but the package is fixed to 5.3.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 tymon/jwt-auth ^2.1 -> satisfiable by tymon/jwt-auth[2.1.0, 2.1.1].