BryanJBryce

BryanJBryce

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.

Marked As Solved

zachdaniel

zachdaniel

Creator of Ash

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

Where Next?

Popular in Questions Top

9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New

Other popular topics Top

grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 54006 488
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New

We're in Beta

About us Mission Statement