Error "Could not find file in modu...

Help
2011-07-04
2012-12-06
  • 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 http://code.google.com/p/scion-lib/issues/detail?id=36#c1). Does anyone know what the error means and how I can avoid it?

     
  • JP Moresmau
    JP Moresmau
    2011-07-04

    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.