Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

admin-lte/post_view.ex failing to compile #7

Open
thanos opened this issue Mar 13, 2019 · 0 comments
Open

admin-lte/post_view.ex failing to compile #7

thanos opened this issue Mar 13, 2019 · 0 comments

Comments

@thanos
Copy link

thanos commented Mar 13, 2019

doing:

$ elixir -v
Erlang/OTP 21 [erts-10.2.3] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe] [dtrace]
Elixir 1.8.1 (compiled with Erlang/OTP 21)

mix deps.get && cd assets && npm install && cd .. && mix ecto.setup && mix phx.server
$ mix ecto.setup

I get:

ompiling 35 files (.ex)

== Compilation error in file lib/talon_blog_demo/talon/views/admin/admin-lte/post_view.ex ==
** (BadMapError) expected a map, got: {:safe, [{:|, [], ["", "<div class=\"container-fluid\"><div class=\"row\"><div class=\"col-md-12\">"]}]}
    (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
    lib/talon_blog_demo/talon/views/admin/admin-lte/post_view.ex:1: TalonBlogDemo.Admin.AdminLte.Web.PostView (module)
    (elixir) lib/kernel/parallel_compiler.ex:208: anonymous fn/4 in Kernel.ParallelCompiler.spawn_workers/6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant