I have a large umbrella app that has 10 Elixir apps. One recently upgraded Phoenix app, and now that we have added a new Phoenix App where we are building a Liveview Admin interface - the Distillery release build fails with this strange error:
"Release failed, during .boot generation: Undefined applications: [floki]"
Liveview depends on floki. I have tried adding :floki to :extra_applications - but that makes no difference. Just out of interest I tried using the standard Phoenix release (mix task) and it fails with the :floki issue as well.
I couldn't find anything relating to this issue on either this project or on Floki or Liveview on github... any help will be much appreciated
I worked out that by adding floki (without :test) the problem goes away - which raises the issue that liveview must be using floki in prod code, even though the Phx.new defaults add the library as :test....
I have a large umbrella app that has 10 Elixir apps. One recently upgraded Phoenix app, and now that we have added a new Phoenix App where we are building a Liveview Admin interface - the Distillery release build fails with this strange error:
"Release failed, during .boot generation: Undefined applications: [floki]"
Liveview depends on floki. I have tried adding :floki to :extra_applications - but that makes no difference. Just out of interest I tried using the standard Phoenix release (mix task) and it fails with the :floki issue as well.
I couldn't find anything relating to this issue on either this project or on Floki or Liveview on github... any help will be much appreciated