nix2intel

nix2intel

i’m using the new ash installer and i’m getting an error right after compiling igniter

  • running mix deps.compile

We are almost there! The following steps are missing:

$ cd test

Then configure your database in config/dev.exs and run:

$ mix ecto.create

Start your Phoenix app with:

$ mix phx.server

You can also run your app inside IEx (Interactive Elixir) as:

$ iex -S mix phx.server

installing igniter :check_mark:
compiling igniter ⢽
compiling igniter :check_mark:
** (Mix) Can’t continue due to errors on dependencies

how can I get it to work, it looks like ash isn’t in the dependencies for the application in mix.exs, any help would be appreciated.

Showing Posts 1 to 10

nix2intel

nix2intel OP


are the options i’m using. I’m new to ash and just trying this out for a hobby project, and i may be doing this wrong so please let me know :smiley:

I tried running just the options from the already have an app and I get this:

Issues:

  • ** (Rewrite.SourceError) could not write to file “lib/test/application.ex”: file changed since reading

Successfully installed:

  • ash
  • ash_phoenix
  • ash_postgres
  • ash_authentication
  • ash_authentication_phoenix
  • ash_csv
  • ash_admin
  • ash_state_machine
  • ash_paper_trail
  • cloak
  • ash_cloak
zachdaniel

zachdaniel

Creator of Ash

What OS are you using? we’ve seen this error a few times and are still trying to pin it down. So far it’s only presented on windows and ChromeOS. today I will be getting Elixir set up on my windows PC to see if I can replicate.

nix2intel

nix2intel OP

This is on an arm linux box (asahi linux) the plot thickens :slight_smile:

nix2intel

nix2intel OP

I know this is a plea for help but this is really cool i’ll add!

shifters98

shifters98

I am getting the same error on ubuntu 24.04 on ryzen 5600 with erlang OTP 26 and elixir 1.15.7

sh <(curl ‘https://ash-hq.org/new/test?install=phoenix’)
&& cd test
&& mix igniter.install
ash_phoenix ash_postgres ash_authentication
ash_authentication_phoenix ash_admin ash_state_machine
–auth-strategy password
–yes

warning: Macro.Env.define_alias/4 is undefined or private
Invalid call found at 2 locations:
lib/spitfire/env.ex:178: Spitfire.Env.expand/3
lib/spitfire/env.ex:478: Spitfire.Env.alias_defmodule/3

warning: Macro.Env.define_import/4 is undefined or private
lib/spitfire/env.ex:209: Spitfire.Env.expand/3

warning: Macro.Env.define_require/4 is undefined or private
lib/spitfire/env.ex:193: Spitfire.Env.expand/3

warning: Macro.Env.expand_alias/4 is undefined or private
lib/spitfire/env.ex:137: Spitfire.Env.expand/3

warning: Macro.Env.expand_import/5 is undefined or private
lib/spitfire/env.ex:308: Spitfire.Env.expand/3

warning: Macro.Env.expand_require/6 is undefined or private
lib/spitfire/env.ex:274: Spitfire.Env.expand/3

installing igniter :check_mark:
compiling igniter ⣷
compiling igniter :check_mark:
** (Mix) Can’t continue due to errors on dependencies

Any ideas?

zachdaniel

zachdaniel

Creator of Ash

It appears I was wrong, this happens for me as well, on Mac. this is not the same as the OS specific bug. Working on it now.

zachdaniel

zachdaniel

Creator of Ash

Hey folks, mind trying again?

nix2intel

nix2intel OP

I’m picking up some items from store will try right when i get back.

shifters98

shifters98

Yes that works now!

Many thanks!

Now to go have a play!

Shifters

nix2intel

nix2intel OP

Working here too!

Where Next? Top

Trending in Questions Top

Blokh
Hey guys, I’ve got a huge CSV ( around 10 GB ) that needs to be processed hourly Do you guys have any suggestions what is the best prac...
New
kszambelanczyk
Hello! Could someone please give me a help/sample code, how to delete a file from s3 using waffle/waffle_ecto from Phoenix app. I creat...
New
RemyXRenard
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
samoloth
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
FlyingNoodle
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
psy-q
I’m trying to set up Emacs with elixir-ls via lsp-mode and credo via Flycheck. This should mostly be preconfigured as Flycheck picks up c...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge &amp; Solve. They are GUI (Emerge) and State management (S...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews