最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

visual studio code - Couldn't find a workingmatching GHC installation. Consider installing ghc-9.10.1 via ghcup or build

programmeradmin4浏览0评论

I've ghcup installed in my machine.

Below are my ghcup installation details -

I verified the same in command line as well.

Then I created a new haskell project using stack 3.3.1 with the command stack new vscode-hls-debug-demo

I then updated snapshot.url as below so that it uses ghc-9.10.1-

snapshot:
  url: .yaml

When I open the project in vscode, I get error Couldn't find a working/matching GHC installation. Consider installing ghc-9.10.1 via ghcup or build HLS from source.

Stack version installed in my machine is -

Details about my machine -

How can I fix this IDE error?

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论