Can't find bitcask dependency
stochastic-thread opened this issue · 1 comments
stochastic-thread commented
Hi I wanted to play around with this repo locally but running Make fails with the following error. Can you please re-create the helium/bitcask repo?
./rebar3 compile
===> Verifying dependencies...
===> Fetching bitcask ({git,"https://github.com/helium/bitcask",
{ref,
"fa6e5166de683a351ca63f97b6a08c9b815affab"}})
===> Failed to fetch and copy dep: {git,"https://github.com/helium/bitcask",
{ref,
"fa6e5166de683a351ca63f97b6a08c9b815affab"}}
stochastic-thread commented
I managed to get this working by using the following rebar.config:
{erl_opts, [{parse_transform, lager_transform}, warn_untyped_records, debug_info, warnings_as_errors]}.
{shell, [{apps, [lager, ranch]}]}.
{deps, [
{libp2p, ".*", {git, "https://github.com/helium/erlang-libp2p.git", {branch, "master"}}},
{bitcask, ".*", {git, "https://github.com/hrobeers/bitcask.git", {branch, "modernize"}}},
{lager, ".*", {git, "https://github.com/erlang-lager/lager.git", {branch, "master"}}}
]}.
{xref_checks,[undefined_function_calls,undefined_functions,locals_not_used,
deprecated_function_calls, deprecated_functions]}.