jwt-auth
jwt-auth copied to clipboard
Update lcobucci/jwt package version
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].