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 个 reaction 已指派 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 摘要。