alchemy-book icon indicating copy to clipboard operation
alchemy-book copied to clipboard

== Compilation error in file web/views/document_view.ex == ** (BadMapError) expected a map, got: {:safe, ""}

Open Morningstar88 opened this issue 5 years ago • 0 comments

mix ecto.create returns:

== Compilation error in file web/views/document_view.ex == ** (BadMapError) expected a map, got: {:safe, ""} (eex) lib/eex/engine.ex:161: EEx.Engine.handle_begin/1 (eex) lib/eex/compiler.ex:54: EEx.Compiler.generate_buffer/4 (phoenix) lib/phoenix/template.ex:378: Phoenix.Template.compile/2 (phoenix) lib/phoenix/template.ex:186: anonymous fn/3 in Phoenix.Template."MACRO-before_compile"/2 (elixir) lib/enum.ex:1940: Enum."-reduce/3-lists^foldl/2-0-"/3 (phoenix) expanding macro: Phoenix.Template.before_compile/1 web/views/document_view.ex:1: AlchemyBook.DocumentView (module) (elixir) lib/kernel/parallel_compiler.ex:208: anonymous fn/4 in Kernel.ParallelCompiler.spawn_workers/6

Possible solutions?:

https://github.com/elixir-lang/elixir/issues/8790 https://elixirforum.com/t/update-elixir-from-1-7-4-to-1-8-0/19589/18

Morningstar88 avatar Apr 03 '19 20:04 Morningstar88