无法在IntelliJ中构建haskell模块

时间:2014-06-09 23:56:26

标签: haskell intellij-idea

当我尝试使用haskell插件在intellJIDEA中构建一个包时,我收到以下错误消息。我认为此消息是buildwrapper而不是插件的错误。但是我不确定如何在Windows中同步buildwrapper。

Error:(2, 8) ghc: Could not find module `Text.ParserCombinators.Parsec'
    It is a member of the hidden package `parsec-3.1.5'.
    Perhaps you need to add `parsec' to the build-depends in your .cabal file.
    It is a member of the hidden package `parsec-3.1.3'.
    Perhaps you need to add `parsec' to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

有什么建议吗?

1 个答案:

答案 0 :(得分:1)

手动编辑build-depends文件以添加缺少的包。