Joey Eremondi
Joey Eremondi

Reputation: 8433

FastLogger does not export Logger error with Yesod

I'm trying to install a Yesod project of mine via cabal, moving it from one machine to another. I'm getting the following error:

Foundation.hs:22:31: Module `System.Log.FastLogger' does not export `Logger'

That error is when I install without any bounds on the package versions. When I use the bounds from the original project, monad-logger fails to install.

Any ideas on how to resolve this?

Upvotes: 0

Views: 231

Answers (1)

Joey Eremondi
Joey Eremondi

Reputation: 8433

Found the problem. I had import System.Log.FastLogger (Logger), and I needed import Yesod.Core.Types (Logger). Found the solution by looking at a fresh Foundation.hs generated by yesod init.

Upvotes: 1

Related Questions