mix igniter.install ash_authentication_phoenix fails to compile
the last command fails to compile on clean repo of
TunezSolution:Jump to solution
Something is strange with the last release there if you add it in your mix exs like this it should work
{:ash_authentication_phoenix, "~> 2.0 and < 2.11.0"},16 Replies
Ive tried all commands that are recommended here, but all fail
Can you update all your deps?
I did use
mix deps.update --all and mix compile worked before ash_authentication_phoenix was added.
The error i get:
and after retrying it when it is installed i get this error:
have you tried
rm -rf _build ?yes, but then i get this
I am not really getting why it wants to compile
prod and if i compile it with prod all deps are outdated
This are my depsI'm trying to reproduce with a build from ash-hq
in the meantime maybe one more thing to try would be
rm -rf _build deps && mix deps.geti tried both.
I used base tunez repo and i have elixir 1.18.2-opt27
did you go off of a particular branch? you have a lot more than just the deps from main
mix deps.update --all might also be worth a trymain and then execute the commands that i wrote at the start
so ash, ash_postgres,ash_json, ash_graphql and ash_authentication where installed
so using this should lead to the same issue with the repo as base
Solution
Something is strange with the last release there if you add it in your mix exs like this it should work
{:ash_authentication_phoenix, "~> 2.0 and < 2.11.0"},yes that works, Thank you very much!
Really appreachiate it ❤️
you can run the install again after, it will ask you if you want to change the version or not, or just run
mix ash_authentication_phoenix.installyes that worked. Should I open an issue in
ash_authentication_phoenix for this or do you think this will get ironed out next releaseissue is appreciate, it should be fixed with the next release. but it helps in tracking it
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 ingiter.install ash mix ingiter.install ash_postgres mix ingiter.install ash_phoenix mi...
Thanks for the report. I'm trying to figure out what I've done wrong. There's just not that many changes to AAP between 2.10 and 2.11.