Closed ramyma closed 1 month ago
@ramyma Just install surface_form
from this fork https://github.com/EnaiaInc/surface_form
In your mix.exs, just have {:surface_form, github: "EnaiaInc/surface_form", ref: "489e0cad5b5b910d82bb7705968e74b4671ab911"}
without any reference to surface
The surface_form will auto install the latest surface version (0.11.5) as a dependency.
To add on, I have is my mix.exs
... {:phoenix_live_view, "~> 1.0.0-rc.6", override: true}, {:ash_postgres, "~> 2.1"}, {:surface_form, github: "EnaiaInc/surface_form", ref: "489e0cad5b5b910d82bb7705968e74b4671ab911"}, ...
The ash_postgres auto install lastest ash, which the surface_form auto install latest ash for me.
@ramyma this was fixed in https://github.com/surface-ui/surface/commit/8492e5ec463523fdd4dc9436612fe44b389d2f07
As a quick fix you can add to your mix.exs
deps {:sourceror, "~> 1.4", override: true}
Describe the bug
I'm trying to add surface to an ash project, when I run
mix deps.get
ormix igniter.install surface
, I get the following error:How to reproduce it
The behavior you expected
Installation should go through with updated dependencies.
Your Environment
Surface: v0.11.X LiveView: v1.0.0-rc.X Elixir: v1.17.2