AshAdmin.PageLive.__live__0 is undefined
When I try to use AshAdmin and navigate to the /admin endpoint I get the error above.
I am using:
{:ash, "~> 2.1"},
{:ash_admin, "~> 0.6.1"},
{:ash_phoenix, "~> 1.1"},
{:phoenix, "~> 1.6.14"},
{:phoenix_ecto, "~> 4.4"},
{:phoenix_html, "~> 3.0"},
{:phoenix_live_view, "~> 0.18"},
No doubt it is user error, any idea what I might be doing wrong? Is AshAdmin ok to use with LiveView 0.18?
13 Replies
It should be! Let me try out those same dependency versions and see what happens 🙂
Alright, so while I did find a few small fixes to make, I didn't see anything that would cause this issue
I set it up to use all the same versions as well
can I see what you have in your router?
🤔 that looks fine to me
have you tried doing a
mix compile --force
? Perhaps its gotten into a weird state somehow?No change. 😦

ohhhh
its the
scope
VeeWeb vs Vee ?
its prefixing the module name that ash_admin is using with
VeeWeb
That should fix it, moving it to its own scope w/o a module prefix
gotta run to lunch, will check back in afterwards🎉

Thank you so much! Is there some way I can buy you a virtual beer?
You could sponsor the project, IIRC there is the ability to do one time sponsorships 🙂 https://github.com/sponsors/zachdaniel
GitHub
Sponsor @zachdaniel on GitHub Sponsors
I'm the author of the Ash Framework, a declarative, resource-oriented application framework for Elixir. My ultimate goal is to enable developers to build powerful, declarative applications, and...
Done. Thanks again Zach!
Any time 🙂
And thanks for the sponsorship!