Chartjs-Chart.js 4.0.1 and requirejs 3 October 2023 by thecoderscamp.com 0👍 You must use UMD packages. const Chart = require('chart.umd.js/auto').default; Chartjs-ChartJS – Injecting data from the server-side Source:stackexchange.com