(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
This is where the error is raised:
I'm not sure how to solve this.
Solution:Jump to 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.
7 Replies
🤔
Can I see the command you ran?
the one that's copied from ash-qh.org
meaning
I just tried again point blank, like so:
in this case no errors were printed
and then:
result:
I can confirm I went into that "state" (in the first message above) because I tried running
mix phx.server
to try stuff out; from then, I get the error even with e.g. mix ecto.reset
update: I am totally able to mix phx.new hello
and starting a dev server with phoenix, without ash, that works.
now I tried something simpler
and then
result:
so, this works as well, meaning it's some ash library messing up with the installatino process, somehow
looks like the culprit is Beacon
the following setup
results in this error, although it's different from before
So without beacon there is no error?
For sure, but I'm on the lookout for the original error, which is different from this one.
Ok my final sympthoms review is the following:
1. from ashhq home page, select phoenix preset, add beacon --> results in that long error message after a
mix test
or a mix phx.server
2. from ashhq home page, select phoenix preset and add oban this time, while removing auth --> results in the error I originally posted this thread
point 2 is what caused this thread in the first place, I just thought "naahhhh I'll add authentication later if I need"
I want to write my first personal website and I wanted to do so with ash so I can excercise and learn it betterSolution
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.
thank you zach, you're awesome