简体   繁体   中英

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

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM