1

环境:rebar 3.6.0 on Erlang/OTP 21 Erts 10.0 Ubuntu 16.04
当我尝试安装 rebar3 插件(例如 rebar3_hex)时,它报告:

===> Package <<"rebar3_hex">> not found. Fetching registry updates and trying again... ===> Updating package registry... ===> Plugin rebar3_hex not available. It will not be used.

~/.config/rebar3/rebar.config我的: 中只有一行,如https://www.rebar3.org/docs/using-available-plugins#hex-package-managementhttps://github.com/tsloughter/rebar3_hex{plugins, [rebar3_hex]}.
中的建议。

我无法从谷歌、rebar3 文档和此处存在的问题获得更多有用的信息。

所以,我打开一个新问题来询问为什么以及如何解决它。

ps:我对rebar3使用proxychains,它报告|DNS-response| repo.hex.pm is 151.101.54.2
inet_gethost[10708]: WARNING:Malformed reply (header) from worker process 10709.

4

1 回答 1

3

在我的情况下,当设置代理环境变量(http_proxy)而不是使用代理链时,它是固定的。

于 2018-07-06T02:53:54.577 回答