web - Compilation error on file lib/phoenix_ecto/html.ex -


while compiling project use elixir phoenix web framework, following compilation error occurs:

==> phoenix_ecto  compiled lib/phoenix_ecto.ex  compiled lib/phoenix_ecto/plug.ex  compiled lib/phoenix_ecto/ison.ex  ==> compilation error on file lib/phoenix_ecto/html.ex ==  ** (compileerror) ib/phoenix_ecto/html.ex:7: unknown key :impl struct phoenix.html.form  (elixir) src/e ixir_map.erl:175: :elixir_map.--assert_struct_keys/5-1c$"011-0--/5  (elixir) src/e ixir_map.erl:48: :elixir_map.translate_struct/4  (elixir) src/e ixir_clauses.erl:36: :elixir_clauses.clause/7  (elixir) src/e ixir_def.erl:178: :elixir_def.translate_clause/7  (elixir) src/e ixir_def.erl:167: :elixir_def.translate_definition/8  [31m[1mcould not compile dependency phoenix_ecto, mix compile failed. can recompile dependency 'mix deps.compile phoenix_ecto' or update 'mix deps.update phoenix_ecto' 

how can project compile correctly?

you need update both phoenix_ecto , phoenix_html. try this:

mix deps.clean phoenix_ecto phoenix_html mix deps.update phoenix_ecto phoenix_html 

and should go!


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -