Use chart.js in Ionic app

#1

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?

#2

Have you done npm install chart.js --save?

#3

Yes. Chart.js is also in my node_modules folder.

#4

I’m having the same issue! Followed the same guide too . Any luck figuring it out?