jeremyjh / dialyxir

Mix tasks to simplify use of Dialyzer in Elixir projects.
Apache License 2.0
1.69k stars 141 forks source link

Can't install with elixir 1.10.4 #400

Closed alexandru-calinoiu closed 4 years ago

alexandru-calinoiu commented 4 years ago

Precheck

Environment

Erlang/OTP 23 [erts-11.0.2] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1]

Elixir 1.10.4 (compiled with Erlang/OTP 22)

Current behavior

Running:

mix do deps.get, deps.compile

Will result in:

Resolving Hex dependencies...
Dependency resolution completed:
Unchanged:
  bunt 0.2.0
  credo 1.4.0
  dialyxir 1.0.0
  erlex 0.2.6
  jason 1.2.1
All dependencies are up to date
==> erlex
Compiling 1 file (.yrl)
/usr/lib/erlang/lib/parsetools-2.2/include/yeccpre.hrl: no such file or directory
src/parser.yrl: Warning: conflicts: 27 shift/reduce, 0 reduce/reduce
could not compile dependency :erlex, "mix compile" failed. You can recompile this dependency with "mix deps.compile erlex", update it with "mix deps.update erlex" or clean it with "mix deps.clean erlex"

Expected behavior

Should be able to install

alexandru-calinoiu commented 4 years ago

Fixgured it out, I had it install apt install esl-erlang on ubuntu.