我最近破坏了我的设置中的一些东西(可能是堆栈升级),并发现我无法让它再次工作:
ghc-mod: <command line>: cannot satisfy -package-id http-types-0.8.6-6a9e3ae2218aaee5f093c4f68fa256c5
$ stack list-dependencies | grep http
http-types 0.8.6
$ cabal --version
cabal-install version 1.22.6.0
using version 1.22.4.0 of the Cabal library
$ cabal info http-types | grep installed
Versions installed: 0.8.6我使用的是最近的stack-support分支。为什么我会有这样的散列差异?
$ ghc-pkg dump | grep http-types
name: http-types
id: http-types-0.8.6-6f392f2a441fe60aa14d377f6850166a发布于 2015-10-07 05:22:23
我不知道这是否会解决您的问题,但我只是在与这个问题作斗争,我能够通过删除我的项目中的dist/目录来解决它。
https://stackoverflow.com/questions/32513603
复制相似问题