我将以下错误解释为Yesod依赖,authenticate-0.10.2.2,需要attoparsec == 0.9。*,但Yesod本身需要attoparsec> = 0.10。我该怎么做才能解决这个问题?>
Resolving dependencies... cabal: cannot configure authenticate-0.10.2.2. It requires attoparsec ==0.9.* For the dependency on attoparsec ==0.9.* there are these packages: attoparsec-0.9.0.0, attoparsec-0.9.1.1 and attoparsec-0.9.1.2. However none of them are available. attoparsec-0.9.0.0 was excluded because attoparsec-enumerator-0.3 requires attoparsec ==0.10.* attoparsec-0.9.0.0 was excluded because yesod-0.9.4.1 requires attoparsec >=0.10 attoparsec-0.9.1.1 was excluded because attoparsec-enumerator-0.3 requires attoparsec ==0.10.* attoparsec-0.9.1.1 was excluded because yesod-0.9.4.1 requires attoparsec >=0.10 attoparsec-0.9.1.2 was excluded because attoparsec-enumerator-0.3 requires attoparsec ==0.10.* attoparsec-0.9.1.2 was excluded because yesod-0.9.4.1 requires attoparsec >=0.10
答案 0 :(得分:1)
我不知道为什么cabal正在尝试安装旧版本的身份验证。尝试在其上设置下限,即authenticate >= 0.10.4
,这应该有效。