Ocaml Can';t在ReasonML项目设置上正确安装依赖项
我是ReasonML的新手,我正在开始学习它。我正在尝试使用存储库设置一个新的ReasonML项目。当我使用Ocaml Can';t在ReasonML项目设置上正确安装依赖项,ocaml,opam,reason,Ocaml,Opam,Reason,我是ReasonML的新手,我正在开始学习它。我正在尝试使用存储库设置一个新的ReasonML项目。当我使用opam pin add-y ReasonNativeProject运行步骤来安装带有opam的依赖项时。我收到以下消息说它无法正确安装reasons ReasonNativeProject needs to be installed. The following dependencies couldn't be met: - ReasonNativeProject -> rea
opam pin add-y ReasonNativeProject运行步骤来安装带有opam的依赖项时。
我收到以下消息说它无法正确安装reasons
ReasonNativeProject needs to be installed.
The following dependencies couldn't be met:
- ReasonNativeProject -> reason = 1.13.3
Your request can't be satisfied:
- reason.1.13.3 is not available because the package is pinned to https://github.com/facebook/reason.git#0.0.6, version 0.0.5.
No solution found, exiting
[NOTE] Pinning command successful, but your installed packages may be out of sync.
如果没有正确安装所有依赖项,我将无法构建我的项目。此存储库需要
reason=1.13.3
,但您添加了一个pin,迫使opam从其git repo(对应于固定的旧版本)中的标记获取reason
您可以opam pin remove reason
(以及opam update
之后)删除此pin并从opam中选择最新版本