rebar unable to get dependency from github

后端 未结 3 1477
野趣味
野趣味 2021-01-11 18:15

I am unable to get any dependency from github using rebar.

rebar.config file:

{sub_dirs, [\"rel\"]}.

{deps_dir, [\"dep         


        
相关标签:
3条回答
  • 2021-01-11 19:02

    I think that you should use rebar get-deps command firstly. If rebar compile command is error, try rebar delete-deps, rebar clean. If still error, switch to the related deps directly, compile these project independently. (I have faced this problem one time).

    0 讨论(0)
  • 2021-01-11 19:03

    You git paths are simply incorrect.

    You forget the the ".git" at the end. It should be git://github.com/xslogic/eleveldb.git not git://github.com/xslogic/eleveldb.

    0 讨论(0)
  • 2021-01-11 19:10

    You forgot .get as stated before and with versions try to add commit number because they upgrade software and versions so master can point to different version and this breaks deps later.

    So change HEAD to commit and set version to this commit or leave HEAD but set version to * (most current one)

    This helps a lot later :)

    0 讨论(0)
提交回复
热议问题