./node_modules/react-chartjs-2/dist/index.modern.js Module not found: Can't resolve 'chart.js' in 'C:\Users\Arvind\Desktop\covid19-tracker\node_modules\react-chartjs-2\dist' code example
Example: ./node_modules/react-chartjs-2/dist/index.modern.js Module not found: Can't resolve 'chart.js/auto' in 'C:\Users\shadi\WebstormProjects\PI_HR_HUB\node_modules\react-chartjs-2\dist'
npm install --save chart.js
This worked for me.