haskell / haskell/vscode-haskell

Failed to find the GHC version of this Cabal project. Error when calling cabal exec -v0 -- ghc --print-libdir

Offen
#1,221 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
type: bug
Vorherrschende Sprache
TypeScript
Sterne
597
Forks
98
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Your environment

hls: 2.9.0.1
cabal: 3.12.1.0
ghc: 9.4.8

Which OS do you use?

Ubuntu 22.04 Jammy

How is your project built (alternative: link to the project)?

cabal project

Which LSP client (editor/plugin) do you use?

Haskell Language server extension

Which version of HLS do you use and how did you install it?

Have you configured HLS in any way (especially: a `hie.yaml` file)?

No

## Bug

I couldn't get hls working for my project.

`Failed to find the GHC version of this Cabal project. Error when calling cabal exec -v0 -- ghc --print-libdir`

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.