尝试通过以下方式安装 happstack 时
$ stack install happstack
我收到以下错误:
Run from outside a project, using implicit global project config
Using resolver: lts-7.2 from implicit global project's config file: /Users/matthewherzl/.stack/global-project/stack.yaml
While constructing the build plan, the following exceptions were encountered:
In the dependencies for happstack-7.0.2:
happstack-server-7.4.6.2 must match >=7.0 && <7.4 (latest applicable is 7.3.9)
Plan construction failed.
看起来 happstack 需要一个比最新版本更旧的 happstack-server。我应该如何处理这个问题?
我考虑过的潜在修复:
- 在我的系统上手动更改 happstack 的配置,允许它依赖于最新版本的 happstack-config,并假设它可以。
- 安装旧版本的 happstack-config。
- 找到 happstack 源代码库,验证它是否适用于最新版本的 happstack-config,更新配置以允许它依赖于最新版本,并将配置更改的拉取请求提交到 happstack 的中央仓库。
我不知道如何做这些,特别是#3听起来很有挑战性。