Does this error happen if you have a hie.yaml
file? I am checking in a local project to leave out some modules in the .cabal
file and playing around with the hie.yaml
. It seems I can reproduce your error only if I these both happend
- a) remove modules from cabal file
- b) remove component from
hie.yaml
In case you wonder (since you are getting used to new tooling) the hie.yaml
is sort of a configuration file for the language-server. It tells hls
where are your components located.