3

我最近在我的设置中破坏了一些东西(可能是堆栈升级),发现我无法让它再次工作:

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
4

1 回答 1

2

我不知道这是否能解决您的问题,但我只是在解决这个问题,我能够通过删除dist/项目中的目录来解决它。

于 2015-10-06T21:22:22.553 回答