Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find module ‘Control.Exception.Safe’ #44

Open
marciofrayze opened this issue Apr 26, 2021 · 1 comment
Open

Could not find module ‘Control.Exception.Safe’ #44

marciofrayze opened this issue Apr 26, 2021 · 1 comment

Comments

@marciofrayze
Copy link

(newbie to Haskell here)

When I try to compile using "stack build" the compilation fails with the same error it's currently failing in the travis pipeline:
https://travis-ci.com/github/parsonsmatt/servant-persistent

When running with "make ghcid-devel", it runs just fine.

I'm using ghci 8.6.5 and stack 2.5.1.

Ps. great example! I'm learning a lot with it. Thanks.

@davewripley
Copy link

Same issue here; I was able to fix it by adding 'safe-exceptions' to the build-depends part of the library stanza in servant-persistent.cabal. A related error then came up with the 'say' package; that too was fixed by adding 'say' to the library build-depends.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants