Phoenix 1.0到1.2:环境开发的未经检查的依赖项

时间:2016-10-28 18:43:30

标签: elixir phoenix-framework

我正在将Phoenix从1.0升级到1.2 我按照步骤从1.0升级到1.1,然后升级到1.1.x到1.2.0

每当我尝试编译时,我都会收到以下错误:

Unchecked dependencies for environment dev:
* phoenix_pubsub_redis (Hex package)
  the dependency does not match the requirement "~> 2.1", got "1.0.0"
* phoenix_html (Hex package)
  the dependency does not match the requirement "~> 2.6", got "2.2.0"
* phoenix (Hex package)
  the dependency does not match the requirement "~> 1.2.0", got "1.0.3"
* phoenix_ecto (Hex package)
  the dependency does not match the requirement "~> 3.0-rc", got "1.2.0"
** (Mix) Can't continue due to errors on dependencies

有谁知道发生了什么或者如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

问题出现在我机器的缓存中。

我跑了mix deps.clean --all并修复了问题。