Mix error getting when getting deps

Hi,
Since a few days I get the following error when getting deps from mix, for example:

** (Mix) No package with name phoenix_live_view (from: mix.exs) in registry

Error appears with other dependencies. May be i have networkd issue with hex.pm … does anyone have troubles of this kind recently ?

Here’s my projet deps, can’t see anything wrong:

defp deps do
    [
      {:bcrypt_elixir, "~> 2.0"},
      {:phoenix, "~> 1.6.6"},
      {:phoenix_ecto, "~> 4.4"},
      {:ecto_sql, "~> 3.6"},
      {:postgrex, ">= 0.0.0"},
      {:phoenix_html, "~> 3.0"},
      {:phoenix_live_reload, "~> 1.2", only: :dev},
      {:phoenix_live_view, "~> 0.17.7"},
      {:floki, ">= 0.30.0", only: :test},
      {:phoenix_live_dashboard, "~> 0.6"},
      {:esbuild, "~> 0.3", runtime: Mix.env() == :dev},
      {:swoosh, "~> 1.3"},
      {:telemetry_metrics, "~> 0.6"},
      {:telemetry_poller, "~> 1.0"},
      {:gettext, "~> 0.18"},
      {:jason, "~> 1.2"},
      {:plug_cowboy, "~> 2.5"},
      {:httpoison, "~> 1.8"},
      {:oban, "~> 2.11"},
      {:ecto_psql_extras, "~> 0.6"},
      {:tailwind, "~> 0.1"},
      {:heroicons, "~> 0.3.0"},
      {:unsplash, "~> 1.1.0"}
    ]
  end

Thanks.

It may be a network issue…

Have you tried an alternative mirror?

HEX_MIRROR=https://cdn.jsdelivr.net/hex mix deps.get

From mirrors docs:

Note : By default, Fastly is used to deliver the files. Fastly distributes files geographically for low latency and fast downloads.

1 Like

Thanks for the mirror doc.
Using alternate works !

1 Like