Some luck…
I upgraded to 1.4.1,
brew update elixir
rm -rf deps
mix deps.get
mix phoenix.server
Same error.
** (Mix) Could not start application idna: could not find application file: idna app
Although the Hackney readme says 1.6.4, it looks to be 1.6.5. :oauth2 calls for {:hackney, "~> 1.6"}
The hackney rebar.config is:
%% -*- tab-width: 4;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ft=erlang ts=4 sw=4 et
{erl_opts, [debug_info,
{platform_define, "R14", no_callback_support},
{platform_define, "^[0-9]+", namespaced_types}
]}.
{xref_checks, [undefined_function_calls]}.
{cover_enabled, true}.
{eunit_opts, [verbose]}.
{post_hooks, [{clean, "rm -rf *~ */*~ */*.xfm test/*.beam"}]}.
{deps, [
{idna, "1.2.0"},
{mimerl, "1.0.2"},
{certifi, "0.7.0"},
{metrics, "1.0.1"},
{ssl_verify_fun, "1.1.1"}
]}.
{profiles, [{docs, [{deps,
[
{edown,
{git, "https://github.com/uwiger/edown.git",
{tag, "0.8"}}}
]},
{edoc_opts, [{doclet, edown_doclet},
{packages, false},
{subpackages, true},
{top_level_readme,
{"./README.md", "http://github.com/benoitc/hackney"}}]}]},
{test, [
{deps, [{cowboy, "1.0.4"}]}
]}
]}.
So I added :hackney to my project’s deps…
[
...
{:hackney, "~> 1.6.5"}
...
]
added it to my applications list
def application do
[mod: {App, []},
applications: [:phoenix, :phoenix_pubsub, :phoenix_html, :cowboy, :ueberauth, :logger, :gettext,
:phoenix_ecto, :postgrex, :httpotion, :hackney]]
mix deps.get
And then it found Hackney’s dependencies.
I then replaced :hackney with :ueberauth_facebook and it complied fine.
My end around worked, but if you or anyone knows the better solution, I’m interested in trying.
Thank you for your help!