dement
Mix deps.get results in "could not find hex"
I just installed Elixir 1.12.3 and Erlang/OTP 22 (64 bit) in a Windows 10 machine (so I’m new and just learning the basics). I created a new project, and am trying to install 1 dependency - ex_doc. When I run ‘mix deps.get’, the response is:
Could not find Hex, which is needed to build dependency :ex_doc
Shall I install Hex? ....
Responding with Y to install hex results in a segmentation fault, as does entering ‘mix local.hex --force’.
I uninstalled and re-installed Elixir/Erlang, but have the same problem.
Isn’t Hex installed with Elixir? How do I solve this?
Thanks.
Marked As Solved
dement
Just more "Segmentation faults’.
I found this thread https://github.com/elixir-lang/elixir/issues/9987. I tried some the suggested solutions near the bottom, but they didn’t work.
I unstalled Elixir/Erlang, and first installed Erlang/OTP v. 24. Then I used the Windows installer to install Elixir 1.12.3, No more segmentation faults! (at least, so far).
I was able to install ex_doc and use it, so I’m assuming updating Erlang fixed the problem.
Thanks all for your help.
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
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #hex









