Hello,
I am very new to Phoenix and Elixir and currently trying to build a new Web App using Phoenix 1.6.
I am following the guide https://hexdocs.pm/phoenix/mix_phx_gen_auth.html#content to use the gen.auth.
mix deps.get
works fine and returns:
All dependencies are up to date
The next step is to run:
mix ecto.setup
At this point, the following error is triggered:
Compilation error in file lib/testproject_web/views/user_confirmation_view.ex ==
** (CompileError) lib/testproject_web/templates/user_confirmation/edit.html.heex:1: undefined function form/1
(elixir 1.12.3) src/elixir_locals.erl:114: anonymous fn/3 in :elixir_locals.ensure_no_undefined_local/3
(stdlib 3.12) erl_eval.erl:680: :erl_eval.do_apply/6
(elixir 1.12.3) lib/kernel/parallel_compiler.ex:319: anonymous fn/4 in Kernel.ParallelCompiler.spawn_workers/7
Version of Elixir and Phoenix are up-to-date.
Does anyone have an idea how to fix this error? I have not found anything useful on the internet yet.
Thank you for any help!