Closed
Description
Hi,
I'm getting the following error when doing mix deps.get
after creating a fresh mix project and adding a single dependency:
mix deps.get
Running dependency resolution
** (Mix) Unable to find package db_connection in registry
Here's the mix.exs file:
defmodule Foo.Mixfile do
use Mix.Project
def project do
[app: :foo,
version: "0.1.0",
elixir: "~> 1.4-rc",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps()]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
# Specify extra applications you'll use from Erlang/Elixir
[extra_applications: [:logger]]
end
# Dependencies can be Hex packages:
#
# {:my_dep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:my_dep, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
#
# Type "mix help deps" for more examples and options
defp deps do
[
{:postgrex, "~> 1.0.0-rc.1"}
]
end
end
Also happens for other deps like {:dialyxir, "~> 0.4.1"}
** (Mix) Unable to find package dialyxir in registry
even when that is the dependency as reported by mix hex.info dialyxir
. Does not happen with others like {:ecto, "~> 2.1"}
any idea on what is wrong?
Metadata
Metadata
Assignees
Labels
No labels