Hey everyone, hi Zach,
Coming back to Ash after a while (pre 3), and strangely I can’t get past the first few step of getting started?
I create the project, add the two first files (support.ex, ticket.ex) and mix compile
will fail with the following error.
Compiling 2 files (.ex)
error: module Ash.Domain is not loaded and could not be found. This may be happening because the module you are trying to load directly or indirectly depends on the current module
│
2 │ use Ash.Domain
│ ^^^^^^^^^^^^^^
│
└─ lib/helpdesk/support.ex:2: Helpdesk.Support (module)
error: module Ash.Resource is not loaded and could not be found. This may be happening because the module you are trying to load directly or indirectly depends on the current module
│
3 │ use Ash.Resource, domain: Helpdesk.Support
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│
└─ lib/helpdesk/support/ticket.ex:3: Helpdesk.Support.Ticket (module)
== Compilation error in file lib/helpdesk/support.ex ==
** (CompileError) lib/helpdesk/support.ex: cannot compile module Helpdesk.Support (errors have been logged)
(elixir 1.17.2) expanding macro: Kernel.use/1
lib/helpdesk/support.ex:2: Helpdesk.Support (module)
Also the project creation ended with this, so I am not really sure it succeded :
** (EXIT from #PID<0.95.0>) killed
The files are there though, here is a repo : GitHub - axelbdt/ash_stumped
Thanks in advance for any pointer