Open zespere opened 4 hours ago
Hi @zespere thanks for you report. I don't see any information about what phoenix/live view versions are installed on your project, can you confirm you have posted the entire mix.lock file?
It would also be helpful to see what your router file looks like. The dev app uses code almost identical to installation guide so I think something else must be going on there: https://github.com/tfwright/live_admin/blob/main/dev.exs
whoops! it seems i only included devbox.lock file, mix.lock is also present now.
And thanks for the fast response!
Hm, so LiveAdmin is definitely not expected to be compatible with LV 1.0 yet, and I'm curious how you even got the dependencies to resolve. When I try it I get the expected error:
Because your app depends on live_admin 0.12.1 which depends on phoenix_live_view >= 0.20.0 and < 0.21.0, phoenix_live_view >= 0.20.0 and < 0.21.0 is required.
So, because your app depends on phoenix_live_view 1.0.0-rc.7, version solving failed.
Are you using any override
options?
Describe the bug When i visit
/admin/foos
i get this error:The bug happens within this file: https://github.com/tfwright/live_admin/blob/main/lib/live_admin/components/nav.ex
To Reproduce I think just following the installation guide will be enough.
Environment:
devbox.lock:
mix.lock: