R
R
Radist_1012015-07-28 07:41:07
Erlang
Radist_101, 2015-07-28 07:41:07

Erlang rebar why dependencies are not loaded?

rebar.config content:

{deps, [
  {cowboy, ".*", {git, "https://github.com/ninenines/cowboy.git", {branch, "master"}}},
  {sync, ".*", {git, "git://github.com/rustyio/sync.git", {branch, "master"}}}
]}

If you execute rebar get-deps, then rebar gives an error ERROR: Failed to load rebar.config
: {error, {4, erl_parse, ["syntax error before: ", []]}}
what's my mistake.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2015-07-28
@Radist_101

"dot" after "]}" put

{deps, [
  {'cowboy', "", {git, "https://github.com/ninenines/cowboy.git", {branch, master}}},
  {'sync', "", {git, "git://github.com/rustyio/sync.git", {branch, master}}}
]}.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question