elixir - Could not render "app.html" for X.Web.LayoutView, please define a matching clause for render/2 -
after renaming app livestory citybuilder, can't launch it.
mix phx.server
returns:
could not render "app.html" citybuilder.web.layoutview, please define matching clause render/2 or define template @ "lib/citybuilder/web/templates/layout". no templates compiled module.
i've checked, , app.html.eex in file structure, should be.
the fault may lay in file structure or cases of words.
i recloned app.
- did case sensitive replace of livestory citybuilder
- another case sensitive replace of livestory citybuilder
i changed
lib/livestory/web/templates/layout
to
lib/citybuilder/web/templates/layout
and app ran ok.
Comments
Post a Comment