title: Intero : Failed to load interface for Lib
body: <p>I am trying to setup my Haskero (Visual Studio Code extension that uses Intero) for my Haskell project, yet I get the following error : </p>
  
  <pre><code>app\Main.hs:3:1: error:
     Failed to load interface for `Lib'
     Use -v to see a list of the files searched for.
  </code></pre>
  
  <p>Steps to reproduce:</p>
  
  <pre><code>stack new project
  cd project
  stack build intero
  stack exec intero
  &gt; :l app/Main.hs
  </code></pre>
  
  <p>app/Main.hs :</p>
  
  <pre><code>module Main where
  
  import Lib
  
  main :: IO ()
  main = someFunc
  </code></pre>
  
  <p>src/Lib.hs :</p>
  
  <pre><code>module Lib
     ( someFunc
     ) where
  
  someFunc :: IO ()
  someFunc = putStrLn "someFunc"
  </code></pre>