Skip to content

Error: 'distanceBetweenPoints' is not exported by node_modules/chart.js/helpers/helpers.cjs #831

@honzajavorek

Description

@honzajavorek

Hi, upgrading charts.js from 4.1.1 to 4.1.2 (see juniorguru/junior.guru#1046) causes my CI to fail on this:

[07:25:10] 'buildJS' errored after 11 s
[07:25:10] Error: 'distanceBetweenPoints' is not exported by node_modules/chart.js/helpers/helpers.cjs, imported by node_modules/chartjs-plugin-annotation/dist/chartjs-plugin-annotation.esm.js

I use rollup to build the JS, but the setup is pretty simple as I use just a few lines of extra JS on my site. I'm not sure what I can do about it. Please advise what other info would help to debug this issue, or how otherwise can I contribute to the solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions