Wojciech
After live admin installation, i can't access the resource route
Hello, i just added live admin to my project and when i visit a route which should contain a page for my resource i get this error:
no function clause matching in String.match?/2
Called with 2 arguments
nil
~r/(home|session)/
Attempted function clauses (showing 1 out of 1)
def match?(*string*, *regex*) when *is_binary(string)*
It seems that the error occurs within this file:
https://github.com/tfwright/live_admin/blob/main/lib/live_admin/components/nav.ex
Thanks!
Marked As Solved
Wojciech
LiveAdmin is not expected to be compatible with LV 1.0 and the dependencies got resolved because I had an override on phoenix_live_view dependency, it seems that all newly generated phoenix apps have it.
It also seems that default phoenix project won’t function with LiveView older than 1.0.0-rc.0 as it uses used_input?.
Also Liked
tfwright
Hi @Wojciech, can you open an issue on the GitHub repo? It will ask you to provide a bit of extra information to help me diagnose the issue. Thanks!
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









