ghannam80

ghannam80

Hello all,

when running the below mix command , I noticed my generated test1web.corecomponents does not include components like back and simple_form , what could cause such behavior ?

mix igniter.new test1 --install ash,ash_postgres,ash_phoenix --with phx.new --extend postgres


Showing Posts 1 to 7

zachdaniel

zachdaniel

Creator of Ash

Have you upgraded to Phoenix 1.8? I believe we need to update our generators to support it :smiling_face_with_tear:

ghannam80

ghannam80 OP

Yes , checking mix.exs it is

{:phoenix, "~> 1.8.0-rc.0", override: true},
zachdaniel

zachdaniel

Creator of Ash

Gotcha. I’m pretty busy, but we will likely need to update our templates. I think they have changed them quite a bit so I don’t know when we could get around to it honestly.

mindok

mindok

You likely need to upgrade the Phoenix generators outside of the project (i.e. not just the mix files). mix phx.new uses the version in the library archives - try mix archive.install hex phx_new and follow the prompts to overwrite the existing version.

zachdaniel

zachdaniel

Creator of Ash

I’m not sure I follow. Ash has its own tasks in ash_phoenix.gen.live that are generating invalid code as of Phoenix 1.8

mindok

mindok

I was replying to the OP - wouldn’t —with phx.new use the installed generators for setting up the Phoenix part of the project? That’s where core_components.ex comes from, right?

zachdaniel

zachdaniel

Creator of Ash

We’re talking about the usage of mix ash_phoenix.gen.live when the user has created a new Phoenix 1.8 app. They made changes to core components that we don’t yet support in the code we generate with mix ash_phoenix.gen.live.

— All posts loaded —

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
nseaSeb
Hello, I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
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
brecabral
Documentation While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
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

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
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
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews