Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors compiling floki 0.4 #25

Closed
sllvn opened this issue Sep 17, 2015 · 3 comments
Closed

Errors compiling floki 0.4 #25

sllvn opened this issue Sep 17, 2015 · 3 comments

Comments

@sllvn
Copy link

sllvn commented Sep 17, 2015

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.

@henrik
Copy link

henrik commented Sep 17, 2015

Just reported the same thing in #24 today. Good to know 0.3.3 works!

@sllvn
Copy link
Author

sllvn commented Sep 17, 2015

Didn't realize your issue already existed. Closing this as dupe of #24. Thanks!

@sllvn sllvn closed this as completed Sep 17, 2015
@philss
Copy link
Owner

philss commented Sep 17, 2015

@licyeus thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants