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

Compilation error in file lib/mix/elasticsearch.build.ex #30

Closed
travcunn opened this issue Jun 7, 2018 · 2 comments
Closed

Compilation error in file lib/mix/elasticsearch.build.ex #30

travcunn opened this issue Jun 7, 2018 · 2 comments

Comments

@travcunn
Copy link

travcunn commented Jun 7, 2018

When compiling my Elixir (1.6.5) project with elasticsearch-elixir installed, I run into this error:

Compiling 15 files (.ex)

== Compilation error in file lib/mix/elasticsearch.build.ex ==
** (CompileError) lib/mix/elasticsearch.build.ex:92: undefined function maybe/2
    (stdlib) lists.erl:1338: :lists.foreach/2
    (stdlib) erl_eval.erl:670: :erl_eval.do_apply/6
could not compile dependency :elasticsearch, "mix compile" failed. You can recompile this dependency with "mix deps.compile elasticsearch", update it with "mix deps.update elasticsearch" or clean it with "mix deps.clean elasticsearch"

Also I love this project!!!!

@rhnonose
Copy link
Contributor

rhnonose commented Jun 7, 2018

@travcunn which version are you using?

I recompiled the 0.4.0 version with elixir 1.6.5 and it compiled just fine.

@travcunn
Copy link
Author

travcunn commented Jun 7, 2018

Whoops simple error. I was using 0.4.0 but forgot to install all proper dependencies ('Maybe' was the one that wasn't installed). Thanks for the quick reply - I need more coffee.

@travcunn travcunn closed this as completed Jun 7, 2018
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

2 participants