elixir-maru / maru

Elixir RESTful Framework
https://maru.readme.io
BSD 3-Clause "New" or "Revised" License
1.32k stars 85 forks source link

could not compile dependency :maru #71

Closed Mo33n closed 7 years ago

Mo33n commented 7 years ago

run this command after deps.get : mix deps.compile maru ==> maru Compiling 59 files (.ex)

== Compilation error in file lib/maru/plugs/version.ex == ** (CompileError) lib/maru/plugs/version.ex:32: expected -> clauses for :else in "with"

could not compile dependency :maru, "mix compile" failed. You can recompile this dependency with "mix deps.compile maru", update it with "mix deps.update maru" or clean it with "mix deps.clean maru"

falood commented 7 years ago

Hi @Mo33n could you please tell me what version of elixir and erlang are you using with maru? And the maru version, thanks

Mo33n commented 7 years ago

I just downgraded the erlang from 20 to 19.3 and problem is solved.

thanks

falood commented 7 years ago

elixir 1.3.x doesn't work well with erlang 20, maru tested under these verions of erlang and elixir: https://github.com/elixir-maru/maru/blob/master/.travis.yml