Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Error on hot-reload with client-side callbacks #2505

Closed
esalehim opened this issue Apr 13, 2023 · 1 comment
Closed

[BUG] Error on hot-reload with client-side callbacks #2505

esalehim opened this issue Apr 13, 2023 · 1 comment

Comments

@esalehim
Copy link

esalehim commented Apr 13, 2023

Describe your context

Error raises on hot-reload when there is a client-side callback. Browser has to be reloaded then

dash                            2.9.2
dash-core-components            2.0.0
dash-html-components            2.0.0
dash-table                      5.0.0

Describe the bug

Cannot read properties of undefined (reading 'apply')
(This error originated from the built-in JavaScript code that runs Dash apps. Click to see the full stack trace or open your browser's console.)
TypeError: Cannot read properties of undefined (reading 'apply')

    at _callee3$ (http://localhost:8060/_dash-component-suites/dash/dash-renderer/build/dash_renderer.v2_9_2m1.dev.js:580:74)

    at tryCatch (http://localhost:8060/_dash-component-suites/dash/dash-renderer/build/dash_renderer.v2_9_2m1.dev.js:411:2404)

    at Generator._invoke (http://localhost:8060/_dash-component-suites/dash/dash-renderer/build/dash_renderer.v2_9_2m1.dev.js:411:1964)

    at Generator.next (http://localhost:8060/_dash-component-suites/dash/dash-renderer/build/dash_renderer.v2_9_2m1.dev.js:411:3255)

    at asyncGeneratorStep (http://localhost:8060/_dash-component-suites/dash/dash-renderer/build/dash_renderer.v2_9_2m1.dev.js:415:103)

    at _next (http://localhost:8060/_dash-component-suites/dash/dash-renderer/build/dash_renderer.v2_9_2m1.dev.js:416:194)

    at http://localhost:8060/_dash-component-suites/dash/dash-renderer/build/dash_renderer.v2_9_2m1.dev.js:416:364

    at new Promise (<anonymous>)

    at http://localhost:8060/_dash-component-suites/dash/dash-renderer/build/dash_renderer.v2_9_2m1.dev.js:416:97

    at handleClientside (http://localhost:8060/_dash-component-suites/dash/dash-renderer/build/dash_renderer.v2_9_2m1.dev.js:532:28)

Screenshots

image

@T4rk1n
Copy link
Contributor

T4rk1n commented Apr 13, 2023

Duplicate of #2488

@T4rk1n T4rk1n marked this as a duplicate of #2488 Apr 13, 2023
@T4rk1n T4rk1n closed this as completed Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants