adolfont
Problems running Livebook - no match of right hand side value: {:error, {:ssl, {‘no such file or directory’, ‘ssl.app’}}}
Hi,
For several days I have been having problems trying to run livebook.
I have installed Erlang and Elixir using asdf.
The Erlang version I am using is 24.0.2.
The Elixir version I am using is 1.21.1-otp-24.
I am using Ubuntu 20.10 groovy (x86-64), Linux kernel 5.8.0-55-generic.
live.
I run
git clone GitHub - livebook-dev/livebook: Automate code & data workflows with interactive Elixir notebooks · GitHub
cd livebook
mix deps.get --only prod
And that’s what appears:
Could not find Hex, which is needed to build dependency :phoenix
Shall I install Hex? (if running non-interactively, use “mix local.hex --force”) [Yn]
I press Y and enter. The error message is below:
12:32:52.202 [error] Task pid<0.109.0> started from pid<0.94.0> terminating
** (MatchError) no match of right hand side value: {:error, {:ssl, {‘no such file or directory’, ‘ssl.app’}}}
(mix 1.12.1) lib/mix/utils.ex:626: Mix.Utils.read_httpc/1
(mix 1.12.1) lib/mix/utils.ex:558: anonymous fn/2 in Mix.Utils.read_path/2
(elixir 1.12.1) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
(elixir 1.12.1) lib/task/supervised.ex:35: Task.Supervised.reply/5
(stdlib 3.15.1) proc_lib.erl:226: :proc_lib.init_p_do_apply/3
Function: function<5.7662958/0 in Mix.Utils.read_path/2>
Args:
** (EXIT from pid<0.94.0>) an exception was raised:
** (MatchError) no match of right hand side value: {:error, {:ssl, {‘no such file or directory’, ‘ssl.app’}}}
(mix 1.12.1) lib/mix/utils.ex:626: Mix.Utils.read_httpc/1
(mix 1.12.1) lib/mix/utils.ex:558: anonymous fn/2 in Mix.Utils.read_path/2
(elixir 1.12.1) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
(elixir 1.12.1) lib/task/supervised.ex:35: Task.Supervised.reply/5
(stdlib 3.15.1) proc_lib.erl:226: :proc_lib.init_p_do_apply/3
Could someone help me?
Regards,
Adolfo
Most Liked
josevalim
This typically means your Erlang was installed without a linked openssl or similar library. So you need to address that first. In this case, perhaps the quickest way to run Livebook is using the Docker image?
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









