Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel 10 Jetstream v4 conflict #211

Open
a4anes opened this issue Dec 29, 2023 · 8 comments
Open

Laravel 10 Jetstream v4 conflict #211

a4anes opened this issue Dec 29, 2023 · 8 comments

Comments

@a4anes
Copy link

a4anes commented Dec 29, 2023

I'm currently working with Laravel 10 and Jetstream 4. However, I encountered an issue when attempting to install composer require jenssegers/agent. It seems that the problem arises because jenssegers/agent requires "mobiledetect/mobiledetectlib": "^2.7.6," while Jetstream has it locked at "mobiledetect/mobiledetectlib": "^4.8."

Do you have any suggestions or solutions to resolve this dependency conflict? I appreciate your assistance.

Error below

Problem 1
- jenssegers/agent[v2.6.0, ..., v2.6.4] require mobiledetect/mobiledetectlib ^2.7.6 -> found mobiledetect/mobiledetectlib[2.7.6, ..., 2.8.45] but the package is fixed to 4.8.04 (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 jenssegers/agent ^2.6 -> satisfiable by jenssegers/agent[v2.6.0, ..., v2.6.4].

@a4anes a4anes changed the title Laravel Jetstream 4 conflict Laravel 10 Jetstream v4 conflict Dec 29, 2023
@Qoraiche
Copy link

Qoraiche commented Jan 1, 2024

any updates?

@whoisthisstud
Copy link

same issue.

@bucari
Copy link

bucari commented Jan 11, 2024

same issue

2 similar comments
@luiscampros
Copy link

same issue

@tanero
Copy link

tanero commented Mar 7, 2024

same issue

@djtechonline
Copy link

Same issue using Laravel 11.

@srakl
Copy link

srakl commented Apr 26, 2024

same issue, and updates?

@CeriseGoutPelican
Copy link

CeriseGoutPelican commented May 3, 2024

I believe #212 should solve the problem 🤞

Also note that Jetstream has removed the dependency to this package altogether. What I ended up doing is uninstalling jenssegers/agent and using Jetstream internal classes instead.

- use Jenssegers\Agent\Agent;
+ use Laravel\Jetstream\Agent;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants