Fl4m3Ph03n1x
Error mix deps.get in Mac
Background
I have a project that needs to run on a Mac machine. I have installed erlang 22.0 and Elixir 1.7.0 using asdf and I have tried to install the dependencies using mix deps.get.
Problem
However when I try to run it I get the following error:
(MatchError) no match of right hand side value: {:error, {:ssl, {'no such file or directory', 'ssl.app'}}}
I have tried to fix the issue by following this SO question but it didn’t fix the problem:
Questions
How can I fix this ?
Marked As Solved
kokolegorille
Yeah last mac update was painful.
Here is what I did to make it work.
- update asdf
- update asdf erlang
- update asdf elixir
- reinstall tools
Something like this
$ asdf update
$ asdf plugin-update erlang
$ asdf plugin-update elixir
$ asdf list-all erlang
$ asdf list-all elixir
$ asdf install erlang 22.0.7
$ asdf global erlang 22.0.7
$ asdf install elixir 1.9.1-otp-22
$ asdf global elixir 1.9.1-otp-22
$ mix local.hex
$ mix local.rebar
Not to mention I had to update node, yarn and postgresql in the process…
Also Liked
OvermindDL1
In the iex terminal what’s the output of :ssl.start()?
And what version of OTP, 22.0.?? Try to make sure it is 22.0.7.
Fl4m3Ph03n1x
Thank you everyone for the help, it solved the issue!
Fl4m3Ph03n1x
iex(1)> :ssl.start()
** (UndefinedFunctionError) function :ssl.start/0 is undefined (module :ssl is not available)
:ssl.start()
So, I should install erlang 22.0.7 with asdf? I’m on it !
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








