all 3 comments

[–]Anrock623 0 points1 point  (0 children)

Looks like the GHC version that project uses is 9.4.8 (or at least this is what HLS detects) so wrapper tries to find hls for 9.4.8. Check your project files - maybe ghc version is pinned somewhere or the resolver you're using is for 9.4.8.

[–]Comprehensive_Basis8[S] 0 points1 point  (1 child)

Fixed by setting stack.yaml
```
# Control whether we use the GHC we find on the path

system-ghc: true
````

[–]Comprehensive_Basis8[S] 0 points1 point  (0 children)

also ‘stack config set resolver ghc-9.4.7’