Hi,
I created a new app
mix
phoenix.new info_circle
and then running mix phoenix.server results in -
== Compilation error on file web/views/layout_view.ex ==
** (CompileError) web/views/layout_view.ex:2: module Phoenix.HTML is not loaded and could not be found
(elixir) expanding macro: Kernel.use/1
web/views/layout_view.ex:2: InfoCircle.LayoutView (module)
expanding macro: InfoCircle.Web.__using__/1
web/views/layout_view.ex:2: InfoCircle.LayoutView (module)
(elixir) expanding macro: Kernel.use/2
web/views/layout_view.ex:2: InfoCircle.LayoutView (module)
Tried mix deps.clean --all, mix deps.get, mix deps.compile but doesn't fix that.
Generated mix.exs has the following
defp deps do
[{:phoenix, "~> 0.12"},
{:phoenix_ecto, "~> 0.3"},
{:postgrex, ">= 0.0.0"},
{:phoenix_live_reload, "~> 0.3"},
{:cowboy, "~> 1.0"}]
end
Tried upgrading to 0.13 but having the same issue. Can someone let me know how to verify if the phoenix dependencies and modules are setup correctly?
Thanks.