Not sure if this is related to the latest fix, but I’m throwing a lot of errors now when running the mix ash.setup command following along on the guide to manually add postgres as a data layer. I just updated the dependency to 3.3.1 to resolve this original error which I was experiencing as well.
mix ash.setup
Getting extensions in current project...
11:58:24.303 [error] beam/beam_load.c(180): Error loading module 'Elixir.Mix.Tasks.Reactor.Install 2':
module name in object code is 'Elixir.Mix.Tasks.Reactor.Install'
11:58:24.304 [error] beam/beam_load.c(180): Error loading module 'Elixir.Ash 2':
module name in object code is 'Elixir.Ash'
11:58:24.319 [error] beam/beam_load.c(180): Error loading module 'Elixir.Reactor 2':
module name in object code is 'Elixir.Reactor'
11:58:24.321 [error] beam/beam_load.c(180): Error loading module 'Elixir.Ash.ActionInput 2':
module name in object code is 'Elixir.Ash.ActionInput'
......
However, the setup and migrations appear to run correctly.
that is quite strange. I don’t think I’ve ever seen anything like that before 'Elixir.Mix.Tasks.Reactor.Install 2' is definitely not a module name we’d ever create.
** (Mix) Could not invoke task “ash.gen.resource”: 1 error found!
–extend : Missing argument of type keep
works when --extend is omitted
If I then try to do an extend on this resource after creation I get the following error:
albin@Albins-MacBook-Pro helpdesk % mix ash.patch.extend Helpdesk.Support.Ticket postgres
Issues during code generation
* Could not find module to extend: Elixir.Helpdesk.Support.Ticket
N.B. This is a fresh project so Support.Representative does not exist yet