小编Jul*_*xir的帖子

文件lib/phoenix_ecto/html.ex上的编译错误

在编译使用elixir和phoenix web框架的项目时,会发生以下编译错误:

==> 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 for 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. You can recompile this dependency with 'mix deps.compile phoenix_ecto' or update it with 'mix deps.update phoenix_ecto'
Run Code Online (Sandbox Code Playgroud)

如何让我的项目正确编译?

frameworks window elixir web phoenix-framework

5
推荐指数
2
解决办法
745
查看次数

标签 统计

elixir ×1

frameworks ×1

phoenix-framework ×1

web ×1

window ×1