我正在将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
有谁知道发生了什么或者如何解决这个问题?
答案 0 :(得分:0)
问题出现在我机器的缓存中。
我跑了mix deps.clean --all
并修复了问题。