elixir-lang / elixir

Elixir is a dynamic, functional language for building scalable and maintainable applications
https://elixir-lang.org/
Apache License 2.0
24.36k stars 3.36k forks source link

`mix deps.tree` hangs #13702

Closed LostKobrakai closed 2 weeks ago

LostKobrakai commented 3 months ago

Elixir and Erlang/OTP versions

Erlang/OTP 27 [erts-15.0] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit]

Elixir 1.17.1 (compiled with Erlang/OTP 27)

Operating system

Mac OS

Current behavior

After installing 1.17.1 (from 1.17.0) I ran mix deps.tree immediatelly. It just hang. Running mix then asked me to install hex and compiled the project. Running mix deps.tree afterwards worked as expected.

Expected behavior

The mix task detecting what made it hang and either reporting that to the user or solving it.

josevalim commented 3 months ago

I could not reproduce it. Can you reproduce it by running mix archive.uninstall hex and then mix deps.tree in the same project?

LostKobrakai commented 3 months ago

It doesn't seem to reproduce that way. It asks me to install hex after uninstalling the archive.

josevalim commented 3 months ago

Thanks for the reply. Can you provide any consistent way of reproducing it?

LostKobrakai commented 2 months ago

I tried with uninstalling and reinstalling 1.17.1 completely. That worked as expected as well. I don't think I have any more details to improve my chances at reproducing this.

josevalim commented 2 weeks ago

I will close this. If someone can reproduce it, I will gladly take a look at it. :)