2
错误如“Phoenix.HTML.Engine.init/1未定义或私有”和“Plug.Conn .__结构__/1未定义”。当我想开始我的凤凰应用与mix phoenix.server
我得到了错误:我升级到Elixir 1.3后升级Elixir
== Compilation error on file web/views/page_view.ex ==
** (UndefinedFunctionError) function Phoenix.HTML.Engine.init/1 is undefined or private
试图通过升级库,来修正它,我还有其他的类似错误:
** (CompileError) lib/poison/parser.ex:11: Poison.SyntaxError.__struct__/1 is undefined, cannot expand struct Poison.SyntaxError
和
== Compilation error on file lib/plug/test.ex ==
** (CompileError) lib/plug/test.ex:53: Plug.Conn.__struct__/1 is undefined, cannot expand struct Plug.Conn
(stdlib) lists.erl:1353: :lists.mapfoldl/3
有什么建议吗?