【问题标题】:Mix hangs on deps.compile while compiling riak_core project编译 riak_core 项目时,Mix 在 deps.compile 上挂起
【发布时间】:2017-05-10 15:47:16
【问题描述】:

我正在尝试编译https://github.com/kanatohodets/elixir_riak_core_ping。我安装了 erlang 18,elixir 版本是 1.3。

编译挂在下面一行并且没有继续:

Downloaded package, caching at /Users/navinnegi/.cache/rebar3/hex/default/packages/pc-1.4.0.tar

如果我停止并尝试再次运行 deps.compile,它将在行停止

Compiling parse_trans

但是,如果我删除位于 User/username/.cache 的 rebar3 文件夹,然后运行 ​​deps.compile。编译再次卡在下一行

下载的包,缓存在/Users/navinnegi/.cache/rebar3/hex/default/packages/pc-1.4.0.tar

【问题讨论】:

    标签: elixir elixir-mix rebar3


    【解决方案1】:

    抱歉,这完全是我的错,我从 riak_core 开始使用“Lik riak core book”,并按照书中的建议在我的路径中添加了 rebar3,这导致了 mix 和 rebar3 之间的问题/冲突。

    从 PATH 中删除 rebar3 后,一切编译正常。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-06-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多