django-plotly-dash icon indicating copy to clipboard operation
django-plotly-dash copied to clipboard

TypeError: i[v][g] is undefined

Open zepp133 opened this issue 1 year ago • 2 comments

I'm currently trying to integrate a functioning stand-alone Dash app into a Django app. I've copied the code over from the stand-alone codebase without any changes to the Dash code.

Now when I try to include the Dash dashboard with the plotly_direct tag, I'm getting a rather cryptic error message in my browser when trying to load the dashboard locally:

TypeError: i[v][g] is undefined [dash_renderer.min.js:2:94855]

I'd appreciate if anybody could point me towards a solution. Thanks :pray:

zepp133 avatar Apr 06 '23 15:04 zepp133

@zepp133 you will have to share a bit more information about what you have (and have not) done. As a first step, what exactly does 'without any changes' mean? Have you for example changed the app constructor from Dash to DjangoDash?

delsim avatar Apr 07 '23 06:04 delsim

Hi @delsim, thank you for your reply! Yes, I did change the app constructur to DjangoDash. That's definitely the only change I made to the code.

zepp133 avatar Apr 11 '23 06:04 zepp133