我收到unchecked dependency for environment
错误ecto.create
和ecto.migrate
。我有以下mix.exs
文件依赖项
defp deps do
[{:phoenix, "~> 1.3"},
{:phoenix_pubsub, "~> 1.0"},
{:phoenix_ecto, "~> 3.3"},
{:postgrex, ">= 0.0.0"},
{:phoenix_html, "~> 2.11"},
{:phoenix_live_reload, "~> 1.1", only: :dev},
{:gettext, "~> 0.11"},
{:cowboy, "~> 1.0"},
{:absinthe, "~> 1.4"},
{:absinthe_plug, "~> 1.4"},
{:absinthe_ecto, "~> 0.1.3"},
{:proper_case, "~> 1.0.0"},
{:rbmq, "~> 0.4"},
{:lager_logger, "~> 1.0"},
{:quantum, "~> 2.2"},
{:timex, "~> 3.0"},
#{:amqp_client, "~> 3.6.7-pre.1", override: true},
#{:rabbit_common, "~> 3.6.7-pre.1", override: true},
{:httpoison, "~> 0.11.0"},
{:confex, "~> 1.4"},
{:cors_plug, "~> 1.5"},
{:logger_file_backend, "~> 0.0.9"},
{:distillery, "~> 1.1"},
{:keycloak, "~> 0.2.0"},
{:plug, "~> 1.4", override: true},
{:poison, "~> 3.1", override: true}]
end
当我运行命令时,mix ecto.create && mix ecto.migrate
出现以下错误。
Unchecked dependencies for environment dev:
* absinthe (Hex package)
the dependency does not match the requirement "~> 1.4", got "1.2.5"
* poison (Hex package)
the dependency does not match the requirement "~> 3.1", got "2.2.0"
** (Mix) Can't continue due to errors on dependencies
我是十六进制,长生不老药和混合物的新手。