Elm前置

Elixir Phoenix工程安装超时的解决方法

2018-12-11  本文已影响0人  太公赢

当Elixir Phoenix建立工程至mix deps.get这一步时,若发生以下的情况。

Request failed (:timeout)
If this happens consistently, adjust your concurrency and timeout settings:

    HEX_HTTP_CONCURRENCY=1 HEX_HTTP_TIMEOUT=120 mix deps.get

可以通过改变设置来解决问题。

mix hex.config http_concurrency 1
mix hex.config http_timeout 120
上一篇下一篇

猜你喜欢

热点阅读