Skip to content

Offline mode: Uncaught ReferenceError: require is not defined #439

Closed
@ricleal

Description

@ricleal

Hello all,

I just updated to plotly from 1.9.5 to 1.9.8 and the offline mode is not working anymore...

Now I have a javascript error:
Uncaught ReferenceError: require is not defined

Which arises from the rendered code:

require(["plotly"], function(Plotly) {
    window.PLOTLYENV = window.PLOTLYENV || {};

Note that in version 1.9.5, the require(["plotly"], function(Plotly) { did not exist!

Any workaround this issue?

Thanks in advance!

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