我正在使用钢筋安装牛仔,但是当我这样做时(在钢筋之后):
> rebar compile
我得到了:
- ==> cowboy (compile)
src/cowboy_req.erl:1223: syntax error before: '{'
src/cowboy_req.erl:226: function kvlist_to_map/2 undefined
src/cowboy_req.erl:383: type map() undefined
src/cowboy_req.erl:385:
function kvlist_to_map/2 undefined
src/cowboy_req.erl:1225: Warning:
function kvlist_to_map/3 is unused
这就是我在rebar.config中的内容:
{cowboy, ".*", {git, "git://github.com/extend/cowboy.git", {branch,"master"}}},