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

Dependency conflict when using ex_webrtc in a new Phoenix project #128

Closed
filipevarjao opened this issue Jul 2, 2024 · 4 comments
Closed

Comments

@filipevarjao
Copy link

While creating a new phoenix app {:phoenix, "~> 1.7.14"}
Trying to fetch ex_webrtc dependency

Because the lock depends on swoosh 1.16.9 which depends on req ~> 0.5 or ~> 1.0, the lock requires req ~> 0.5 or ~> 1.0.
And because bundlex >= 1.2.0 depends on req ~> 0.4.0, the lock is incompatible with bundlex >= 1.2.0.
And because ex_libsrtp >= 0.7.1 depends on bundlex ~> 1.3, the lock is incompatible with ex_libsrtp >= 0.7.1.
And because every version of ex_webrtc depends on ex_libsrtp ~> 0.7.1, the lock is incompatible with ex_webrtc.
And because your app depends on the lock, no version of ex_webrtc is allowed.
So, because your app depends on ex_webrtc ~> 0.3.0, version solving failed.

PS. the project is brain-new, the only dependency added after creating was ex_webrtc.

@mickel8 mickel8 changed the title Dependency error Dependency conflict when using ex_webrtc in a new Phoenix project Jul 2, 2024
@mickel8
Copy link
Member

mickel8 commented Jul 2, 2024

Thanks for the issue! Looks like the fix in bundlex has already been merged so the only remainign thing is to release its new version.

I will let you know once this happens.

For now, from my experiments, doing mix deps.update --all --force should help

@filipevarjao
Copy link
Author

worked for me, thank you very much

@mickel8
Copy link
Member

mickel8 commented Jul 3, 2024

Waiting for membraneframework/bundlex#129 to be merged

@mickel8
Copy link
Member

mickel8 commented Jul 9, 2024

Bundlex 1.5.2 has been released so now, everything should work correctly. Please reopen if you still encounter any problems! 🙂

@mickel8 mickel8 closed this as completed Jul 9, 2024
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

2 participants