tymondesigns / jwt-auth

🔐 JSON Web Token Authentication for Laravel & Lumen

Home Page:https://jwt-auth.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update lcobucci/jwt package version

qomineko opened this issue · comments

commented

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].