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).