Programming Phoenix LiveView B5.0 Source code Zip file:

I believe we have a repetition of an issue we saw before, involving apparently spurious <% symbols introduced into the source files. I have only tried compiling the “core” subdirectory of the zip file (downloaded this afternoon - 1st July 2021) so far, so I don’t know if it is more widespread. The errors, when compiling are as follows:

== Compilation error in file lib/pento_web/live/demographic_live/show_component.ex ==
** (EEx.SyntaxError) /Users/alister/Programming/Practice/elixir/liveview/code-B50/11 - core/pento/lib/pento_web/live/demographic_live/show_component.html.leex:10:1: missing token ‘%>’
(eex 1.11.4) lib/eex/compiler.ex:37: EEx.Compiler.compile/2
(phoenix_live_view 0.15.1) expanding macro: Phoenix.LiveView.Renderer.before_compile/1
lib/pento_web/live/demographic_live/show_component.ex:10: PentoWeb.DemographicLive.ShowComponent (module)
(elixir 1.11.4) lib/kernel/parallel_compiler.ex:314: anonymous fn/4 in Kernel.ParallelCompiler.spawn_workers/7
❯ mix phx.server
Compiling 61 files (.ex)

== Compilation error in file lib/pento_web/live/demographic_live/show_component.ex ==
** (EEx.SyntaxError) /Users/alister/Programming/Practice/elixir/liveview/code-B50/11 - core/pento/lib/pento_web/live/demographic_live/show_component.html.leex:10:1: missing token ‘%>’
(eex 1.11.4) lib/eex/compiler.ex:37: EEx.Compiler.compile/2
(phoenix_live_view 0.15.1) expanding macro: Phoenix.LiveView.Renderer.before_compile/1
lib/pento_web/live/demographic_live/show_component.ex:10: PentoWeb.DemographicLive.ShowComponent (module)
(elixir 1.11.4) lib/kernel/parallel_compiler.ex:314: anonymous fn/4 in Kernel.ParallelCompiler.spawn_workers/7

Ah you are absolutely right, apologies for that! We’ll have that fixed in the next Beta release.