mix - Cannot compile simple Elixir Project -


i´am working way through ´programming elixir´ dave thomas. hit point create first mix project. httpoison introduced , added application function in mix.exs. project should compiled first time using iex -s mix. @ point had problems ssl_verify_hostname. after installing erlang-src , erlang-dev stuck following console output

$ iex -s mix erlang/otp 18 [erts-7.1] [source] [64-bit] [smp:8:8] [async-threads:10] [kernel-poll:false]  warn:  expected /home/..../issues/deps/idna app dir (containing ebin/*.app), no .app found. warn:  expected /home/..../issues/deps/ssl_verify_hostname app dir (containing ebin/*.app), no .app found. ==> hackney (compile) warn:  expected /home/..../issues/deps/idna app dir (containing ebin/*.app), no .app found. warn:  expected /home/..../issues/deps/ssl_verify_hostname app dir (containing ebin/*.app), no .app found. dependency not available: idna-.* ({git,                                        "https://github.com/benoitc/erlang-idna",                                        {tag,"1.0.2"}}) dependency not available: ssl_verify_hostname-.* ({git,                                                    "https://github.com/deadtrickster/ssl_verify_hostname.erl",                                                    {tag,"1.0.5"}}) ** (argumenterror) argument error     (stdlib) :io.put_chars(#pid<0.26.0>, :unicode, <<69, 82, 82, 79, 82, 58, 32, 99, 111, 109, 112, 105, 108, 101, 32, 102, 97, 105, 108, 101, 100, 32, 119, 104, 105, 108, 101, 32, 112, 114, 111, 99, 101, 115, 115, 105, 110, 103, 32, 47, 104, 111, 109, 101, 47, 114, 107, 114, 97, 117, ...>>)     (mix) lib/mix/shell.ex:78: mix.shell.do_cmd/2     (mix) lib/mix/tasks/deps.compile.ex:161: anonymous fn/5 in mix.tasks.deps.compile.do_command/4     (mix) lib/mix/project.ex:196: mix.project.in_project/4     (elixir) lib/file.ex:1061: file.cd!/2     (mix) lib/mix/dep.ex:137: mix.dep.in_dependency/3     (mix) lib/mix/tasks/deps.compile.ex:160: mix.tasks.deps.compile.do_command/4     (mix) lib/mix/tasks/deps.compile.ex:59: anonymous fn/3 in mix.tasks.deps.compile.compile/1 

although i´ve searched different parts of output cannot find helpful information.

you must install dependencies before runs code.

mix deps.get (it download of dependencies)

mix deps (it installs dependencies)


Comments