mix deps.compile failing for ash_authentication_phoenix

Here is the error message.
==> ash_authentication_phoenix

Unchecked dependencies for environment prod:

* stream_data (Hex package)

the dependency build is outdated, please run "MIX_ENV=prod mix deps.compile"

* decimal (Hex package)

could not find an app file at "e:/Data/elixir-stuff/my_app/_build/dev/lib/decimal/ebin/de

cimal.app". This may happen if the dependency was not yet compiled or the dependency indeed has no app

file (then you can pass app: false as option)
==> ash_authentication_phoenix

Unchecked dependencies for environment prod:

* stream_data (Hex package)

the dependency build is outdated, please run "MIX_ENV=prod mix deps.compile"

* decimal (Hex package)

could not find an app file at "e:/Data/elixir-stuff/my_app/_build/dev/lib/decimal/ebin/de

cimal.app". This may happen if the dependency was not yet compiled or the dependency indeed has no app

file (then you can pass app: false as option)
It's odd that it says "MIX_ENV=prod" as I'm running this mix command with MIX_ENV=dev. I made sure to delete _build before running the mix deps.compile.
4 Replies
cr0nk
cr0nk2mo ago
I ran into the same issue while following the Ash Framework book running mix igniter.install ash_authentication_phoenix 🙁
jart
jart2mo ago
I've been trying to figure this out myself. Can you tell me which version of phoenix_live_view is in your project?
tanker9012/mezus
there is a github issue open for it: https://github.com/team-alembic/ash_authentication_phoenix/issues/674 temporary solution is to pin version (it worked for me) {:ash_authentication_phoenix, "== 2.10.0"},
GitHub
v2.11.0 - mix igniter.install ash_authentication_phoenix fails to c...
The following command where run: git clone https://github.com/sevenseacat/tunez.git cd tunez mix deps.get mix igniter.install ash mix igniter.install ash_postgres mix igniter.install ash_phoenix mi...
jasono
jasonoOP2mo ago
That was it. I didn't realize I was still using {:phoenix_live_view 1.0.0-rc.1, override: true} Changing it to ~> 1.1 fixed my issue. Thank you!!

Did you find this page helpful?