'缺少目标文件操作数'尝试堆叠exec安装时出错...'

时间:2017-07-26 01:54:44

标签: haskell-stack

我正在尝试使用servant-auth-server安装Hackage的stack exec install servant-auth-server软件包,这对我的其他软件包起作用。

然而,servant-auth-server我收到错误。

$ stack exec install servant-auth-server
/run/current-system/sw/bin/install: missing destination file operand after 'servant-auth-server'
Try '/run/current-system/sw/bin/install --help' for more information.

此错误的原因是什么?

如何安装servant-auth-server

修改

运行命令$ stack install servant-auth-server也不起作用,如下所示。

$ stack install servant-auth-server

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

In the dependencies for servant-auth-server-0.3.0.0:
    servant-auth must match ==0.2.*, but the stack configuration has no specified version (latest applicable is 0.2.7.0)

Recommended action: try adding the following to your extra-deps in /home/matthew/.stack/global-project/stack.yaml:
- servant-auth-0.2.7.0

You may also want to try the 'stack solver' command
Plan construction failed.

1 个答案:

答案 0 :(得分:0)

命令可能应该是stack install servant-auth-server