首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >堆栈安装intero失败

堆栈安装intero失败
EN

Stack Overflow用户
提问于 2018-11-02 07:38:16
回答 1查看 2.1K关注 0票数 4

我刚刚安装了Stack

代码语言:javascript
复制
curl -sSL https://get.haskellstack.org/ | sh

安装进行得很好,但是当尝试使用Stack安装Intero时,它失败了

代码语言:javascript
复制
ffriis@BNEC02QR6Y0G8WN ~> stack install hlint intero

Error: While constructing the build plan, the following exceptions were encountered:

In the dependencies for intero-0.1.32:
    ghc-8.4.4 from stack configuration does not match >=7.8 && <=8.4.3  (latest matching version is 8.4.3)
needed since intero is a build target.

Some different approaches to resolving this:

  * Set 'allow-newer: true' in /Users/ffriis/.stack/config.yaml to ignore all version constraints and build anyway.

  * Consider trying 'stack solver', which uses the cabal-install solver to attempt to find some working build configuration. This can be convenient when dealing with many complicated constraint
    errors, but results may be unpredictable.

  * Recommended action: try adding the following to your extra-deps in /Users/ffriis/.stack/global-project/stack.yaml:

ghc-8.4.3@sha256:07ee8fb5dab414c35f93d5d5afc1ecaa65a49c409346e5063436cc8b838cd754

Plan construction failed.

我已按指示编辑了该文件,但仍然收到相同的错误。解决问题的最好办法是什么?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-11-02 13:27:46

目前intero支持GHC 8.4.3,但是堆栈正在捕获8.4.4。在lts-12.14中将解析器更改为stack.yaml

票数 5
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/53114445

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档