Error "Could not find file in modu...

  • Hi! I'm using version 2.0.4 of Eclipse FP and I very often get an error saying "Could not find file in module graph.". I did a quick search on the web for this message, but all I could find was some old threads discussing an issue with this symptom (for instance Does anyone know what the error means and how I can avoid it?

  • JP Moresmau
    JP Moresmau

    It could mean:
    - the file you open is not part of the cabal project. Right click,
    properties, and check on the module inclusion page that the haskell
    module is contained or exposed where it should
    - there are errors in the build in files that come before your file in
    the module build order. Since the build stops on error, following
    files are not loaded.