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

asc*_*kes 5 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
Run Code Online (Sandbox Code Playgroud)

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

asc*_*kes 7

问题出在我机器上的缓存中的某个地方。

我跑了mix deps.clean --all,它解决了问题。