I think the problem could be that you passed --no-html
flag when creating the Phoenix project, but Pow depends on it (Pow imports Phoenix.Component
).
BTW these flags not always mean what you think they are (at least that’s the case for myself). The other day I created a new Phx project without LV functionality (--no-live
flag), but it still adds phoenix_live_view
to Mix as the project then depends on phoenix_live_view
for Heex templates rendering. These flags vary in “integration” levels when not used, for example the mentioned --no-live
flag will not inject any LV related config into endpoint/router/etc files but still depends to some degree on the actual LV library (like the heex templates).