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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -