chartjs-plugin-trendline icon indicating copy to clipboard operation
chartjs-plugin-trendline copied to clipboard

Can't load version 2.1.1: Module has no exports

Open oanguenot opened this issue 7 months ago • 2 comments

Hi, I updated from version 2.1.0 to version 2.1.1 and I have now the following issue:

export 'default' (imported as 'chartTrendline') was not found in 'chartjs-plugin-trendline' (module has no exports)

Installed from yarn/npm

I use the following:

import Chart from "chart.js/auto";
import {DateTime} from "luxon";
import zoomPlugin from "chartjs-plugin-zoom";
import chartTrendline from 'chartjs-plugin-trendline';
import annotationPlugin from 'chartjs-plugin-annotation';

Versions used:

  • "chart.js": "4.4.3",
  • "chartjs-adapter-luxon": "1.3.1",
  • "chartjs-plugin-annotation": "^3.0.1",
  • "chartjs-plugin-streaming": "2.0.0",
  • "chartjs-plugin-trendline": "2.1.1",
  • "chartjs-plugin-zoom": "2.0.1",

Thanks

oanguenot avatar Jul 08 '24 06:07 oanguenot