Created a new Elixir project (mix new floki_test), added {:floki, "~> 0.4"} to mix.exs, successfully ran mix deps.get, but when I run mix test on this blank project, Floki fails to compile and the project outputs:
➜ mix test
==> mochiweb (compile)
Compiled src/reloader.erl
*** SNIP ***
Compiled src/mochifmt.erl
Compiled src/mochiweb_charref.erl
/usr/local/Cellar/erlang/18.0.2/lib/erlang/lib/parsetools-2.1/include/leexinc.hrl:47: attribute 'dialyzer' after function definitions
/usr/local/Cellar/erlang/18.0.2/lib/erlang/lib/parsetools-2.1/include/leexinc.hrl:118: attribute 'dialyzer' after function definitions
/usr/local/Cellar/erlang/18.0.2/lib/erlang/lib/parsetools-2.1/include/leexinc.hrl:194: attribute 'dialyzer' after function definitions
/usr/local/Cellar/erlang/18.0.2/lib/erlang/lib/parsetools-2.1/include/leexinc.hrl:247: attribute 'dialyzer' after function definitions
==> floki
could not compile dependency floki, mix compile failed. You can recompile this dependency with `mix deps.compile floki` or update it with `mix deps.update floki`
==> floki_test
** (Mix) Encountered compilation errors.
I'm using mix/elixir 1.0.5. Above steps succeed with floki 0.3.3.
Created a new Elixir project (
mix new floki_test
), added{:floki, "~> 0.4"}
tomix.exs
, successfully ranmix deps.get
, but when I runmix test
on this blank project, Floki fails to compile and the project outputs:I'm using mix/elixir 1.0.5. Above steps succeed with floki 0.3.3.