Hello everybody,
I’m following guidelines and instructions of the well-known Phoenix book “Programming Phoenix” and as I’m now on page 93 I tried to execute “mix ecto.migrate” after generating the resources.
The command shell outputs this error:
Compiling 13 files (.ex)
== Compilation error on file web/views/video_view.ex ==
** (SyntaxError) web/templates/video/index.html.eex:16: unexpected token: "\" (column 8, codepoint U+005C)
(eex) lib/eex/compiler.ex:36: EEx.Compiler.generate_buffer/4
(eex) lib/eex/compiler.ex:43: EEx.Compiler.generate_buffer/4
(phoenix) lib/phoenix/template.ex:378: Phoenix.Template.compile/2
(phoenix) lib/phoenix/template.ex:186: Phoenix.Template."-MACRO-__before_compile__/2-fun-0-"/3
(elixir) lib/enum.ex:1755: Enum."-reduce/3-lists^foldl/2-0-"/3
(phoenix) expanding macro: Phoenix.Template.__before_compile__/1
web/views/video_view.ex:1: Rumbl.VideoView (module)
(elixir) lib/kernel/parallel_compiler.ex:117: anonymous fn/4 in Kernel.ParallelCompiler.spawn_compilers/1
I updated the router with the new resources before that.
I hope this is informative. Of course I can provide further details if needed.
Can you detect what kind of problem this is?
Thank you






















