Skip to content

Uncaught SyntaxError: "" literal not terminated before end of script & Uncaught (in promise) Error: dash_core_components was not found. #1607

@Daboudette

Description

@Daboudette

dash 1.19.0
dash-core-components 1.15.0
dash-html-components todo 1.1.2
dash-bootstrap-components 0.12.0
dash-renderer 1.9.0
dash-table 4.11.2

Describe the bug

The errors i have :
image

  • Uncaught (in promise) Error: dash_core_components was not found
    I thought it was because my initial layout doesn't have a dcc component. When it doesn't have a component from a lib, dash does not load the js bundle. But i din't success to fix it.

  • Uncaught SyntaxError: "" literal not terminated before end of script
    I have really no idea how to solve it.

Expected behavior

I have developed a Dash application. Everything is working on my computer. Now, I'm trying to host this app on a RedHat server ( https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-uswgi-and-nginx-on-ubuntu-18-04 )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions