Laragear / TwoFactor

Two-Factor Authentication for all your users out-of-the-box.
https://github.com/sponsors/DarkGhostHunter
MIT License
271 stars 20 forks source link

Incompatibilidad con bacon/bacon-qr-code versión 3.0.0 #84

Closed codebyDanielDev closed 3 months ago

codebyDanielDev commented 3 months ago

Please check these requirements

Description

Podrían considerar actualizar el paquete laragear/two-factor para ser compatible con la versión 3.0.0 de bacon/bacon-qr-code. Actualmente, laragear/two-factor requiere la versión 2.x de bacon/bacon-qr-code, lo cual genera incompatibilidades con otras dependencias en proyectos que ya utilizan la versión 3.0.0.

Esta actualización ayudaría a evitar conflictos y permitiría una mayor flexibilidad al integrarlo en proyectos existentes.

Code sample

./composer.json has been updated
Running composer update laragear/two-factor
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - laragear/two-factor[v1.0.0, ..., v1.2.0] require bacon/bacon-qr-code ^2.0 -> found bacon/bacon-qr-code[2.0.0, ..., 2.0.8] but the package is fixed to v3.0.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.
    - laragear/two-factor[v1.2.1, ..., v1.3.0, v2.0.0, ..., v2.0.1] require bacon/bacon-qr-code 2.* -> found bacon/bacon-qr-code[2.0.0, ..., 2.0.8] but the package is fixed to v3.0.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 laragear/two-factor * -> satisfiable by laragear/two-factor[v1.0.0, ..., v1.3.0, v2.0.0, v2.0.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 laragear/two-factor:*" to figure out if any version is installable, or "composer require laragear/two-factor:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
PS /home/carlos-daniel/Herd/laravel/test-jetstream>
DarkGhostHunter commented 3 months ago

85