Open fendor opened 4 years ago
The steps to reproduce seems to be (from #1682):
In a simple stack based project without explicit hie.yaml
with a lib, an exe and a test component:
.stack-work
and $(stack path --snapshot-install-root)
Main.hs
(main executable module of the exe component) ---> errorstack build
Main.hs
file --> worksAnother workaround is use an explicit hie.yaml
for stack following the README instructions.
It seems that with the previous workaround the error could arise again so a more stable one would be use a explicit hie.yaml
specific for stack, folowwing: https://github.com/haskell/haskell-ide-engine#project-configuration
Open Haskell IDE Engine
app/MainHie.hs
with the implicit stack cradle and an error should be produced, such ascannot satisfy -packge haskell-ide-engine-<some numbers>
.cc @Gurkenglas