Mix phx.server error in an umbrella app - protocol Phoenix.HTML.FormData not implemented for #Ecto.Changeset

When running mix phx.server from the phoenix app directory of an umbrella project, it works
but when running mix phx.server from the umbrella directory, it works but some dependencies are not found

which results in error in the phoenix app

the error is

protocol Phoenix.HTML.FormData not implemented for #Ecto.Changeset

this error shows if one forgets the dependency phoenix_ecto

but this dependency is in the phoenix app mix so why running from the umbrella dir fails ?

more over when deploying such app does the mix release works the same ?

thanks

1 Like

strangely the error disappeared

1 Like

Thank you, you save my time! I got this error because I didn’t install phoenix_ecto.
Btw, I don’t encounter this problem anymore either from the umbrella directory or apps directory,
Elixir version: 1.13.0

1 Like