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 Test.Hspec #448

Open
slipsnip opened this issue Sep 20, 2020 · 1 comment
Open

Could not find module Test.Hspec #448

slipsnip opened this issue Sep 20, 2020 · 1 comment

Comments

@slipsnip
Copy link

I installed all the dependencies and completed the Setup as documented. When I make changes to my test/Spec.hs in a stack project, I get an error Error: Could not find module 'Test.Hspec' which points to the import Test.Hspec though if I bring up a terminal and perform a stack test my tests run and pass. I made sure hspec is installed as well is the hsdev that this plugin depends on. I am not sure why it cannot locate Hspec. Is this something that others are getting or perhaps something I have done wrong?

If I then do Build With: SublimeHaskell - Test the error goes away until the next time I make a change to Spec.hs

@jaredloomis
Copy link

jaredloomis commented Apr 23, 2021

I'm also seeing this error. The build succeeds when using stack build or Build With: SublimeHaskell - *, but on saving a file I get Error: Could not find module 'RIO'. All type inferences are displayed as :: ? unless the value has an explicit type annotation.

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