title: IntelliJ Haskell plugin: ghc-modi failed with error
body: <p>I just installed IntelliJ idea and the official Haskell plugin.
  IntelliJ couldn't find ghc-modi.exe, so I installed ghc-mod through cabal.</p>
  
  <p>However, after importing my cabal project, I am still receiving the following error:</p>
  
  <blockquote>
    <p>ghc-modi failed with error: NG BUG: GMECabalFlags (GMEString "extractField: failed extracting configFlags from input, input contained `configFlags'? False")</p>
  </blockquote>
  
  <p>How can I solve or get more information on this error?</p>
  
  <p>Thanks in advance.</p>