我正在尝试使用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.
答案 0 :(得分:0)
命令可能应该是stack install servant-auth-server