Ash FrameworkAF
Ash Framework5mo ago
21 replies
venir.dev

(ArgumentError) could not fetch application environment :ash_domains for application :test

I just ran the startup script, here: https://ash-hq.org/#get-started

But after pasting the command, I straight up get this error message
[info] == Migrated 20250829135349 in 0.0s
[notice] Application venirdotdev exited: exited in: Venirdotdev.Application.start(:normal, [])
    ** (EXIT) an exception was raised:
        ** (ArgumentError) could not fetch application environment :ash_domains for application :venirdotdev because configuration at :ash_domains was not set
            (elixir 1.18.1) lib/application.ex:771: Application.fetch_env!/2
            (venirdotdev 0.1.0) lib/venirdotdev/application.ex:17: Venirdotdev.Application.start/2
            (kernel 10.2) application_master.erl:295: :application_master.start_it_old/4


This is where the error is raised:
# inside `Application.start`
# inside `children` list
      {Oban,
       AshOban.config(
         Application.fetch_env!(:venirdotdev, :ash_domains),
         Application.fetch_env!(:venirdotdev, Oban)
       )},


I'm not sure how to solve this.
Ash HQ
Model your domain, derive the rest.
Ash Framework
Solution
Please open issues describing the exact steps to reproduce each issue and I will look into it. You should be able to install packages into a new app one at a time to avoid the issues for now.
Was this page helpful?