title: Yesod ExitFailure 1 when installing scaffolded app
body: <p>I'm trying to install my first scaffolded Yesod app. When I run <code>cabal-dev install &amp;&amp; yesod --dev devel</code> it fails with ExitFailure 1. I'm using sqlite for persistent.</p>
  
  <pre><code>Application.hs:49:44:
  No instance for (monad-logger-0.3.1:Control.Monad.Logger.MonadLogger
                     IO)
    arising from a use of `runMigration'
  Possible fix:
    add an instance declaration for
    (monad-logger-0.3.1:Control.Monad.Logger.MonadLogger IO)
  In the second argument of `Database.Persist.Store.runPool', namely
    `(runMigration migrateAll)'
  In a stmt of a 'do' block:
    Database.Persist.Store.runPool dbconf (runMigration migrateAll) p
  In the expression:
    do { manager &lt;- newManager def;
         s &lt;- staticSite;
         dbconf &lt;- withYamlEnvironment
                     "config/sqlite.yml" (appEnv conf) Database.Persist.Store.loadConfig
                   &gt;&gt;= Database.Persist.Store.applyEnv;
         p &lt;- Database.Persist.Store.createPoolConfig
                (dbconf :: PersistConfig);
         .... }
  Failed to install testProject-0.0.0
  cabal.exe: Error: some packages failed to install:
  testProject-0.0.0 failed during the building phase. The exception was:
  ExitFailure 1
  </code></pre>
  
  <p>I've tried to follow the instructions here: <a href="http://www.yesodweb.com/book/scaffolding-and-the-site-template" rel="noreferrer">http://www.yesodweb.com/book/scaffolding-and-the-site-template</a>
  Haven't managed to find any information regarding this problem. Any clues as to what's missing?</p>