简体   繁体   中英

Getting error {missing_app_file,.. on rebar get-deps

I set-up some dependencies in my rebar.config (which I have done previously in other projects)

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"}}
]}.

When I run rebare get-deps I am getting the following errors:

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

I'm really not sure what I'm doing wrong this time. Any help would be greatly appreciated.

您是否尝试过使用以下语法:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM