Skip to content

3.8.1 build breaks #10512

@mmarton

Description

@mmarton

Expected behavior

no error happens

Current behavior

Not sure what is the issue here, my build works with 3.8.0 and breaks with 3.8.1 so some breaking change has been introduced.
The messages come from 3rd party libs

Module build failed: Module not found:
"./node_modules/@symfony/stimulus-bridge/lazy-controller-loader.js!./assets/controllers/chart/optimus_chart_controller.js" contains a reference to the file "chart.js/auto".
This file can not be found, please check it for typos or update it if the file got moved.

"./node_modules/@symfony/ux-chartjs/dist/controller.js" contains a reference to the file "chart.js/auto".
This file can not be found, please check it for typos or update it if the file got moved.

"./node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js" contains a reference to the file "chart.js/helpers".
This file can not be found, please check it for typos or update it if the file got moved.

Reproducible sample

I will try to make a simple reproducer

Optional extra steps/info to reproduce

No response

Possible solution

No response

Context

No response

chart.js version

3.8.1

Browser name and version

firefox 100

Link to your project

No response

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