Igniter task broken for Helpdesk Example

The Igniter task for the example Helpdesk app in the docs is failing.

macOS 14.5

Erlang/OTP 27 [erts-15.1.2] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]

Elixir 1.17.3 (compiled with Erlang/OTP 27)

Igniter 0.4.11

Running this:

mix igniter.new helpdesk \
  --install ash,ash_postgres,ash_phoenix \
  --with phx.new \
  --extend postgres \
  --example

Leads to an error:

The following tasks will be run after the above changes:

  • ash.codegen initialize

Proceed with changes? [y/n] y
error: undefined variable “ash”
│
78 │ setup: [“deps.get”, ash.setup, “assets.setup”, “assets.build”, “run priv/repo/seeds.exs”],
│ ^^^
│
└─ mix.exs:78:27: App.MixProject.aliases/0

** (CompileError) mix.exs: cannot compile module App.MixProject (errors have been logged)

error: undefined variable "ash"
│

78 │ setup: [“deps.get”, ash.setup, “assets.setup”, “assets.build”, “run priv/repo/seeds.exs”],
│ ^^^
│
└─ mix.exs:78:27: App.MixProject.aliases/0

** (CompileError) mix.exs: cannot compile module App.MixProject (errors have been logged)

The package ash_phoenix had no associated installer task.

Hrm, looks like Igniter is leaving off the quotes on ash.setup. I used this a little while ago and it was working.

Okay, latest releases of igniter and ash_postgres should solve this.

1 Like