I tried following this tutorial by Josh Morony. However, I get the following error:
Cannot find module 'chart.js'
on this line:
import { Chart } from 'chart.js';
Is there something else I need to do that is not mentioned in the tutorial?
I tried following this tutorial by Josh Morony. However, I get the following error:
Cannot find module 'chart.js'
on this line:
import { Chart } from 'chart.js';
Is there something else I need to do that is not mentioned in the tutorial?
Have you done npm install chart.js --save
?
Yes. Chart.js is also in my node_modules folder.
I’m having the same issue! Followed the same guide too . Any luck figuring it out?