在使用DAMLSDK1.0.1构建create项目的过程中,我在执行daml codegen js .daml/dist/create-daml-app-0.1.0.dar -o daml.js时遇到了一个纱线错误。它回来了
Failure: "yarn install --pure-lockfile" exited with ExitFailure 2
Usage: yarn [options]
yarn: error: no such option: --pure-lockfile我对纱线不太熟悉,所以我不知道怎么做。有人能给我指明正确的方向吗?谢谢!
纱线版本:0.32+git
DAMLSDK1.0.0也会出现此错误。
发布于 2020-05-10 13:24:01
这听起来像是安装了cmdtest,它也提供了一个名为yarn的命令,但与yarn包管理器无关。查看https://docs.daml.com/getting-started/index.html#prerequisites的先决条件,了解如何删除cmdtest的说明和纱线包管理器安装说明的链接。
https://stackoverflow.com/questions/61712549
复制相似问题