Uncaught TypeError: Cannot read properties of undefined
petrus-jvrensburg opened this issue · comments
Petrus Janse van Rensburg commented
Environment
- phoenix_live_view 0.17.7
- phoenix_live_dashboard 0.6.4
- Elixir 1.13.3
- Mac OS & Ubuntu 20.04
- Safari & Chrome
Actual behavior
When opening LiveDashboard, the page renders fine initially, but then a Javascript error occurs before the websocket connection to the server is established. This happens on 'Home' and 'OS Data', but not on the other tabs.
Expected behavior
No Javascript errors.
Petrus Janse van Rensburg commented
P.S. I'm using esbuild rather than webpack... not sure if that's a contributing factor.
José Valim commented
Please bump the dashboard to 0.6.5. :)
Petrus Janse van Rensburg commented
🙏 That did the trick!