Skip to content

Color dependencies cause initial import to break #5182

Closed
@mtgraves

Description

@mtgraves

The newest versions of your dependencies color-alpha, color-normalize, color-parse, and color-rgba cause me to not even be able to import plotly into my react apps via:

import Plotly from “plotly.js”;

The error thrown is “Typeerror: rgba is not a function”.

When I roll back to a last known working set of these deps (based on another recent react project) I do not experience this and the plotly library works fine.

Working versions:
color-alpha 1.0.4
color-normalize: 1.5.0
color-parse: 1.3.8
color-rgba: 2.1.1

Newest versions of the above cause initial import issue as described above.

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