I’ve tried everything I can think of, but can’t seem to shake this error when running MIX_ENV=prod mix release
:
===> Provider successfully run: app_discover
===> Running provider resolve_release
===> Solving Release myapp-0.0.2
===> Provider (resolve_release) failed with: {error,
{rlx_prv_release,
{failed_solve,
{unreachable_package,
phoenix_live_reload}}}}
==> ERROR: "Unable to find application phoenix_live_reload. See the debug output for more information."
I have phoenix_live_reload
in my mix.exs
def application do
[mod: {Myapp, []},
applications: [:phoenix,
:phoenix_live_reload,
...
:bamboo_smtp]]
end
...
defp deps do
[{:phoenix, "~> 1.2.1"},
...
{:phoenix_live_reload, "~> 1.0", only: :dev},
...
{:bamboo_smtp, "~> 1.2.1"}]
end
Not sure what else. I started as usual running
MIX_ENV=prod mix phoenix.digest
MIX_ENV=prod mix compile
MIX_ENV=prod mix release
then tried mix release.clean
, I tried mix deps.clean --all
and mix do deps.get, compile
, and I tried rm -rf _build
and starting it all over. I built successfully before several times, not sure what could have changed between now and then. Is there some permission I can check somewhere that might be causing this? Thanks.