phoenixframework / phoenix_live_dashboard

Realtime dashboard with metrics, request logging, plus storage, OS and VM insights

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Phoenix LiveDashboard Javascript error

dealloc opened this issue · comments

Environment

Make sure you are using the latest LiveView and Dashboard versions before continuing.

  • Elixir version (elixir -v): Elixir 1.13.0 (compiled with Erlang/OTP 24)
  • Phoenix version (mix deps): phoenix 1.6.6 (Hex package) (mix)
  • Phoenix LiveView version (mix deps): phoenix_live_view 0.17.7 (Hex package) (mix)
  • Phoenix Dashboard version (mix deps): phoenix_live_dashboard 0.6.4 (Hex package) (mix)
  • Operating system: Windows 11 WSL (Ubuntu)
  • Browsers you attempted to reproduce this bug on (the more the merrier): Firefox 97.0.1 (64-bit) and Microsoft Edge Version 98.0.1108.56 (Official build) (64-bit)

Actual behavior

When navigating to /dashboard you get a Javascript error.
Firefox:
image

Edge:
image

I tested by creating a brand new project (mix phx.new no additional flags/config), starting the server and navigating to /dashboard.
The page throws a Javascript error, the topbar stays loading and I notice that the live navigation doesn't work (you have to hard reload them for the page to update).

Expected behavior

No Javascript errors

v0.6.5 released with a fix!

You guys always amaze me with how fast things are handled!