You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Descrição Geral do Problema
Estou tentando implementar JWT porém sem sucesso.
gostaria da ajuda de vocês.
Meu ambiente:
PHP 8.1.24
Laravel Framework 8.83.27
Composer version 2.5.8
Problema Encontrado
Detalhar problema - Utilize Markdown ou Gist para códigos
`composer require tymon/jwt-auth
./composer.json has been updated
Running composer update tymon/jwt-auth
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 laravel/framework ^10.0, found laravel/framework[v10.0.0, ..., 10.x-dev] but the package is fixed to v8.83.27 (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.
Problem 2
- Root composer.json requires laravel/sanctum ^3.2, found laravel/sanctum[v3.2.0, ..., 3.x-dev] but the package is fixed to v2.15.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.
Problem 3
- spatie/laravel-ignition[2.0.0, ..., 2.3.1] require illuminate/support ^10.0 -> found illuminate/support[v10.0.0, ..., 10.x-dev] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires spatie/laravel-ignition ^2.0 -> satisfiable by spatie/laravel-ignition[2.0.0, ..., 2.3.1].
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 tymon/jwt-auth:*" to figure out if any version is installable, or "composer require tymon/jwt-auth:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.`
Abordagem
Você já tentou alguma solução, descreva aqui.
Atualização 1
Se precisar atualizar a sua pergunta, adicione seções como essa.
Solução
Se o problema foi resolvido, adicione uma seção de solução como essa
The text was updated successfully, but these errors were encountered:
Descrição Geral do Problema
Estou tentando implementar JWT porém sem sucesso.
gostaria da ajuda de vocês.
Meu ambiente:
PHP 8.1.24
Laravel Framework 8.83.27
Composer version 2.5.8
Problema Encontrado
Detalhar problema - Utilize Markdown ou Gist para códigos
`composer require tymon/jwt-auth
./composer.json has been updated
Running composer update tymon/jwt-auth
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 laravel/framework ^10.0, found laravel/framework[v10.0.0, ..., 10.x-dev] but the package is fixed to v8.83.27 (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.
Problem 2
- Root composer.json requires laravel/sanctum ^3.2, found laravel/sanctum[v3.2.0, ..., 3.x-dev] but the package is fixed to v2.15.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.
Problem 3
- spatie/laravel-ignition[2.0.0, ..., 2.3.1] require illuminate/support ^10.0 -> found illuminate/support[v10.0.0, ..., 10.x-dev] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires spatie/laravel-ignition ^2.0 -> satisfiable by spatie/laravel-ignition[2.0.0, ..., 2.3.1].
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 tymon/jwt-auth:*" to figure out if any version is installable, or "composer require tymon/jwt-auth:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.`
Abordagem
Você já tentou alguma solução, descreva aqui.
Atualização 1
Se precisar atualizar a sua pergunta, adicione seções como essa.
Solução
Se o problema foi resolvido, adicione uma seção de solução como essa
The text was updated successfully, but these errors were encountered: