uncaught reference error chart is not defined code example Example: chart.js chart is not defined import Chart from 'chart.js'