I am trying to migrate my Phoenix app from 1.2 to 1.3 using the official guide, including moving the web code into lib/my_app_web.
I am hitting the following
== Compilation error on file lib/my_app_web/gettext.ex ==
** (ArgumentError) unknown application: :MyAppWeb
(elixir) lib/application.ex:428: Application.app_dir/1
(elixir) lib/application.ex:437: Application.app_dir/2
(gettext) expanding macro: Gettext.Compiler.__before_compile__/1
lib/my_app_web/gettext.ex:1: MyAppWeb.Gettext (module)
(elixir) lib/kernel/parallel_compiler.ex:117: anonymous fn/4 in Kernel.ParallelCompiler.spawn_compilers/1
in lib/my_app_web.ex
I define defmodule MyAppWeb do ... end
Is there something else I need to update?
:my_app_web
most likely. – Dogbert:MyAppWeb
inlib/my_app_web/gettext.ex
? Try changing that to:my_app_web
. – Dogbert