Igniter messes with sourceror
I have a pretty empty Phoenix 1.8 project where I have added igniter, ash and ash_phoenix, using igniter, without issue.
Now I want to add ash_authentication with
mix igniter.install ash_authentication --auth-strategy magic_link, however that fails after setting up igniter with:
After this, mix format fails with the same error, until you run mix deps.get. This fixes mix format, but mix igniter.install ... breaks it again.
Any ideas?7 Replies
installing ash with igniter should have added sourcerer as a dependency in that way, did it not?
Sorry, that pretty crucial part was missing: sourceror is installed
and if I run
Code.ensure_loaded?(Sourceror) in iex -S mix I get a true back
however, I just tried using elixir 1.18.4 and that seems to have solved the issuesourcerer was already installed in dev,test like that?
yes
from when ash was added
🤔
and if I do a
Code.ensure_loaded in iex then mix format works afterwards
but it feels like it might be an elixir 1.19 issue
I'll see if I can reproduce it
I can't reproduce it in a fresh project
I'll close this onerm -rf _build fixes most weird Elixir issues 😅