haskell / haskell/vscode-haskell

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

オープン
#1,221 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
type: bug
主要言語
TypeScript
スター
597
フォーク
98
PR マージ指標
30日以内にマージされた PR はありません

説明

### 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`

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。