basho / riak_pb

Riak Protocol Buffers Messages
Apache License 2.0
70 stars 114 forks source link

(Mix) Could not compile dependency :riak_pb [JIRA: RIAK-3229] #221

Closed churcho closed 7 years ago

churcho commented 7 years ago

I am getting an error when I try to run my elixir app which uses riak_pb as a dependency to riak-erlang-client

The error is * (Mix) Could not compile dependency :riak_pb, "/Users/myuser/.mix/rebar3 bare compile --paths "/Users/myuser/app_backend/_build/dev/lib//ebin"" command failed. You can recompile this dependency with "mix deps.compile riak_pb", update it with "mix deps.update riak_pb" or clean it with "mix deps.clean riak_pb"

lukebakken commented 7 years ago
churcho commented 7 years ago

I resolved it by changing my mix setting from {:riakc, github: "basho/riak-erlang-client"} to {:riakc, "~> 2.4} and it seems to be working fine now.

lukebakken commented 7 years ago

Great, thank you for the information.