Failed to compile. ./src/LineGraph.js Module not found: Recursion in resolving

Viewed 108

I installed successfully react-chartjs-2 and chart.js via npm install --save react-chartjs-2 chart.js but when I tried using LinkGraph I got the error:

Failed to compile.

./src/LineGraph.js
Module not found: Recursion in resolving

Please help.

1 Answers

npm install --save chart.js do it separately

Apparently, even though it's referred on package.json you have to install it individually

for more info see this discussion on react-chartjs-2 issue

Related