When running haskell-language-server-wrapper
directly from the command line within a stack project, we get an error like:
Hidden: no Range: 1:1-2:1 Source: cradle Severity: DsError Message: ghcide compiled by GHC 8.10 failed to load packages: : cannot satisfy -package-id aeson-1.5.6.0-DkwLMaMFAoKEbTeMR8x6ex (use -v for more information). Please ensure that ghcide is compiled with the same GHC installation as the project.
Solution appears to be to instead run stack exec haskell-language-server-wrapper
for some reason.
This is crazy infuriating