I am trying to update elixir from 1.7.4 to 1.16.2.
I am running into a compilation error.
Compilation error in file lib/myapp/api/actions/support/some_action.ex ==
** (RuntimeError) unexpected EEx.Engine state: {{:., [], [{:__aliases__, [alias: false], [:EExHTML]}, :raw]}, [], [[]]}. This typically means a bug or an outdated EEx.Engine or tool
(eex 1.16.2) lib/eex/engine.ex:218: EEx.Engine.check_state!/1
(eex 1.16.2) lib/eex/engine.ex:181: EEx.Engine.handle_text/3
(eex 1.16.2) lib/eex/compiler.ex:321: EEx.Compiler.generate_buffer/4
(raxx_view 0.1.7) expanding macro: Raxx.View.__using__/1
lib/myapp/api/actions/support/some_action:6: SomeAction (module)
(elixir 1.16.2) expanding macro: Kernel.use/2
lib/myapp/api/actions/support/some_action.ex:6: SomeAction (module)
expanding macro: MyApp.API.SupportLayout.__using__/1
def SomeAction
...
use MyApp.API.SupportLayout,
arguments: [:transaction],
template: Path.join(__DIR__, "transaction.html.eex")
...
end
defmodule MyApp.API.SupportLayout do
use Raxx.View.Layout,
optional: [
page_title: "Admin",
with_navbar: true,
message: nil,
message_type: "info"
]
end