Hi all,
(Updated with new observations below)
I’m going through Ecto’s “Getting Started” (Getting Started — Ecto v3.12.5).
I’ve done the following:
mix new friends --sup
change mix.exs:
defp deps do
[
{:ecto_sql, "~> 3.0"},
{:postgrex, ">= 0.0.0"}
]
end
mix deps.get
mix ecto.gen.repo -r Friends.Repo
My adventure stalls there. I just see this for the last 20 minutes and it goes no further:
===> Fetching rebar3_lfe v0.4.8
What am I doing wrong? Is there some cache that I should clear to get things moving along?
I’m using Windows 10, Erlang/OTP 28, Elixir 1.18.4
Update:
It’s not only Ecto. It’s pretty much anything. Here’s another scenario where I’m stuck with the same issue:
> mix new asdf
* creating README.md
* creating .formatter.exs
* creating .gitignore
* creating mix.exs
* creating lib
* creating lib/asdf.ex
* creating test
* creating test/test_helper.exs
* creating test/asdf_test.exs
> cd asdf
> mix test
Compiling 1 file (.ex)
Generated asdf app
Running ExUnit with seed: 287652, max_cases: 8
..
Finished in 0.04 seconds (0.00s async, 0.04s sync)
1 doctest, 1 test, 0 failures
Made the following changes to mix.exs:
defp deps do
[
{:eden, "~> 2.1"},
]
end
Then reran mix deps.get:
> mix deps.get
Resolving Hex dependencies...
Resolution completed in 0.206s
New:
certifi 2.14.0
combine 0.10.0
eden 2.1.0
elixir_array 2.1.0
expo 1.1.0
gettext 0.26.2
hackney 1.23.0
idna 6.1.1
metrics 1.0.1
mimerl 1.3.0
parse_trans 3.4.1
ssl_verify_fun 1.1.7
timex 3.7.11
tzdata 1.1.3
unicode_util_compat 0.7.0
* Getting eden (Hex package)
* Getting elixir_array (Hex package)
* Getting timex (Hex package)
* Getting combine (Hex package)
* Getting gettext (Hex package)
* Getting tzdata (Hex package)
* Getting hackney (Hex package)
* Getting certifi (Hex package)
* Getting idna (Hex package)
* Getting metrics (Hex package)
* Getting mimerl (Hex package)
* Getting parse_trans (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (Hex package)
* Getting expo (Hex package)
Finally…
> mix test
==> combine
Compiling 6 files (.ex)
Generated combine app
==> asdf
===> Fetching rebar3_lfe v0.4.8
And it just stays there. I had to ctrl+c out of it. Mix run does the same thing:
> mix run
==> combine
Compiling 6 files (.ex)
Generated combine app
==> asdf
===> Fetching rebar3_lfe v0.4.8
Where do I go from here? Thanks.