错误:不支持沙丘的1.11版本

问题描述 投票:1回答:1

我想在Mac上测试该项目:https://github.com/nt591/monkey-ocaml。下载项目后,dune runtest返回以下错误:

$ dune runtest
File "dune-project", line 1, characters 11-15:
1 | (lang dune 1.11)
               ^^^^
Error: Version 1.11 of dune is not supported.
Supported versions:
- 0.0
- 1.0 to 1.6

然后,我跟随this suggestion,但它返回了此内容:

$ dnf remove dune
-bash: dnf: command not found

我必须安装dnf吗?有人可以帮忙吗?

macos ocaml opam ocaml-dune
1个回答
1
投票

已解决在注释中,但万一其他人迷失了方向,duneopam一起安装,但已过时,因此解决方法很简单opam update && opam upgrade

如果以其他方式安装了dune,则强烈建议您卸载该实例,然后使用`opam'进行安装。

© www.soinside.com 2019 - 2024. All rights reserved.