erlang 获取rebar时出现错误{missing_app_file,..

nbysray5  于 2022-12-08  发布在  Erlang
关注(0)|答案(1)|浏览(103)

我在rebar.config中设置了一些依赖项(我以前在其他项目中也这样做过)
rebar.config:

{sub_dirs, ["sbin", "priv"]}.
{lib_dirs, ["deps/erlang"]}.
{erl_opts, [{parse_transform, lager_transform}]}.
{eunit_opts, [verbose, {report,{eunit_surefire,[{dir,"."}]}}]}.
{cover_enabled, true}.
{cover_export_enabled, true}.
{deps, [
{lager, "2.0.3",
    {git, "git://github.com/basho/lager.git", {tag, "2.0.3"}}},
{ezk, ".*",
    {git, "git@github.com:campanja/ezk.git"}}
]}.

当我运行rebare get-deps时,我得到以下错误:

ERROR: Dependency dir /Users/me/workspace/erlang/try-ezk/deps/ezk failed application validation with reason:
{missing_app_file,"/Users/me/workspace/erlang/try-ezk/deps/ezk"}.
ERROR: 'get-deps' failed while processing /Users/me/workspace/erlang/try-ezk: rebar_abort

我真的不知道这次我做错了什么。任何帮助都将不胜感激。

55ooxyrt

55ooxyrt1#

是否尝试使用以下语法:

{ezk, ".*",{git, "git://github.com/campanja/ezk.git"}}

相关问题