termux-packages
termux-packages copied to clipboard
Elixir mix can not install elixir packages
I have elixir and erlang installed:
Erlang/OTP 27 [erts-15.0.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit]
Elixir 1.17.2 (compiled with Erlang/OTP 25)
When I tried to install an elixir:
mix archive.install hex phx_new
I received the following error:
** (EXIT from #PID<0.95.0>) an exception was raised:
** (CaseClauseError) no case clause matching: :undefined
(public_key 1.16.1) pubkey_os_cacerts.erl:40: :pubkey_os_cacerts.get/0
(mix 1.17.2) lib/mix/utils.ex:664: Mix.Utils.read_httpc/1
(mix 1.17.2) lib/mix/utils.ex:576: anonymous fn/2 in Mix.Utils.read_path/2
(elixir 1.17.2) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
(elixir 1.17.2) lib/task/supervised.ex:36: Task.Supervised.reply/4
15:29:42.543 [error] Task #PID<0.111.0> started from #PID<0.95.0> terminating
** (CaseClauseError) no case clause matching: :undefined
(public_key 1.16.1) pubkey_os_cacerts.erl:40: :pubkey_os_cacerts.get/0
(mix 1.17.2) lib/mix/utils.ex:664: Mix.Utils.read_httpc/1
(mix 1.17.2) lib/mix/utils.ex:576: anonymous fn/2 in Mix.Utils.read_path/2
(elixir 1.17.2) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
(elixir 1.17.2) lib/task/supervised.ex:36: Task.Supervised.reply/4
Function: #Function<5.19587555/0 in Mix.Utils.read_path/2>
Args: []