error in creating new project

below is the command mix igniter.new it_toolbox_backend --with phx.new --install ash,ash_phoenix --install ash_graphql,ash_json_api --install ash_postgres,ash_authentication --install ash_authentication_phoenix,ash_csv --install ash_admin,ash_oban --install oban_web,ash_state_machine --install ash_events,ash_money --install ash_double_entry,ash_archival --install live_debugger,mishka_chelekom --install ash_paper_trail,cloak --install ash_cloak --auth-strategy password --auth-strategy magic_link --auth-strategy api_key --yes below is the output * creating... ... Fetching and compiling dependencies ✔ Updating project's igniter dependency ✔ installing igniter ✔ temporarily adding igniter ✔ compiling igniter ✔ setting up igniter ✔ compiling 11 packages ✔ ** (Mix) Could not invoke task "igniter.install": 3 errors found! --auth-strategy : Unknown option --auth-strategy : Unknown option --auth-strategy : Unknown option versions: * hex-2.2.2-otp-27 * igniter_new-0.5.30 * phx_new-1.8.0-rc.4
9 Replies
barnabasj
barnabasj3mo ago
is this copied directly from ash-hq?
ZachDaniel
ZachDaniel3mo ago
that installer works for me 😄
barnabasj
barnabasj3mo ago
same, both copying it directly from here and getting one from the website
Adam Tang
Adam TangOP3mo ago
I using windows 11 and latest PowerShell. Is this the issue?
barnabasj
barnabasj3mo ago
That's definitely the difference You can leave of the --auth-strategy flags and call the tasks yourself after mix help and there should be the ash_authentication tasks to add the strategies
Adam Tang
Adam TangOP3mo ago
Hmm... I will try on wsl then copy folder over later see it works or not. hmm... more errors. seems like some components in ash similar to beacon which are not working in windows os.
ZachDaniel
ZachDaniel3mo ago
🤔 strange... Could it maybe be the commas? Can you try surrounding all those args w/ quotes?
Adam Tang
Adam TangOP3mo ago
It was okay in wsl, then I copy the folder to windows host except _build and deps. mix deps.get was okay but mix ash.setup error out. I believe I saw elixir_bcrypt compile error.
ZachDaniel
ZachDaniel3mo ago
Ah, yeah There are sometimes issues w/ NIFs on windows

Did you find this page helpful?