-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when installing with Igniter - Igniter.Project.Application.app_name/0 is undefined
#362
Comments
Hm, it seemed possible because I've been mucking around with Igniter for a while, but |
So I searched all asdf-installed Elixir versions for any installed Igniter archives, and found two:
(note: I've been testing this with Elixir 1.17.2-otp-27) Deleted the two archives and re-ran the test and it worked :( So not a bug in Igniter or AshPostgres, but what? |
This is definitely very strange, and I feel like there is some kind of pattern around this. I dont' see why the |
Just for funsies, I've gotten almost-identical problems again on $work_laptop when attempting to install both AshGraphql and AshJsonApi. For AshGraphql, it prompts to add :ash_graphql to mix.exs, I confirm, it compiles everything, then the error occurs:
Same thing with AshJsonApi, but a different error:
This machine has no installed Igniter archives. I have a whole lot of Elixir versions installed, all have Re-running the installs works fine for both of them. It doesn't compile anything (I guess compilation finished the first time I ran it?), just jumps straight to the results of running the package installer. I tried deleting Something weird is going on. |
Describe the bug
I've set up a new Phoenix app to test out Igniter setup, and run into an issue with AshPostgres.
Upon re-running
ash_postgres.install
, the error does not appear, and everything works as normal?To Reproduce
mix phx.new
) - generates a 1.7.14 appmix igniter.install ash
(installs 3.2.6)mix igniter.install ash_postgres
(installs 2.1.15)The library installs successfully, but the error occurs when it runs
ash_postgres.install
.Expected behavior
ash_postgres.install
should run successfully and patch my repo etc. files.** Runtime
The text was updated successfully, but these errors were encountered: