-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
module :leex is not available #35
Comments
nm, I didnt have all of erlang. I installed erlang from https://www.erlang-solutions.com/downloads/download-erlang-otp and that fixed the problem |
Just to complement, I am in Ubuntu and installed Erlang though apt-get. I had to instal other packages such as erlang-dev and erlang-parsetools to be able to compile libs such as Floki, but it did work. |
This is because the user may have a basic Erlang installation without the Erlang parse tools. This issue is related: #35.
@brianrackle and @akitaonrails Thank you for your report and details! I added a section to the readme file explaining this. |
Thanks, @akitaonrails, solved the problem! |
I get this error with floki 0.6.1
=> floki
could not compile dependency :floki, "mix compile" failed. You can recompile this dependency with "mix deps.compile floki", update it with "mix deps.update floki" or clean it with "mix deps.clean floki"
** (UndefinedFunctionError) undefined function: :leex.file/2 (module :leex is not available)
:leex.file('src/floki_selector_lexer.xrl', [scannerfile: 'src/floki_selector_lexer.erl', report: true])
(mix) lib/mix/compilers/erlang.ex:84: anonymous fn/3 in Mix.Compilers.Erlang.compile/3
(elixir) lib/enum.ex:1385: Enum."-reduce/3-lists^foldl/2-0-"/3
(mix) lib/mix/compilers/erlang.ex:83: Mix.Compilers.Erlang.compile/3
(elixir) lib/enum.ex:1043: anonymous fn/3 in Enum.map/2
(elixir) lib/enum.ex:1385: Enum."-reduce/3-lists^foldl/2-0-"/3
(elixir) lib/enum.ex:1043: Enum.map/2
(mix) lib/mix/tasks/compile.all.ex:19: anonymous fn/1 in Mix.Tasks.Compile.All.run/1
The text was updated successfully, but these errors were encountered: