简体   繁体   English

编译失败。 ./src/LineGraph.js 未找到模块:解析中的递归

[英]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:我通过npm install --save react-chartjs-2 chart.js成功安装了react-chartjs-2chart.js ,但是当我尝试使用LinkGraph时,我得到了错误:

Failed to compile.

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

Please help.请帮忙。

npm install --save chart.js do it separately npm install --save chart.js单独做

Apparently, even though it's referred on package.json you have to install it individually显然,即使在 package.json 上提到它,您也必须单独安装它

for more info see this discussion on react-chartjs-2 issue有关更多信息,请参阅关于 react-chartjs-2 问题的讨论

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 编译失败。 找不到模块:错误:无法解析 - Failed to compile. Module not found: Error: Can't resolve 编译失败。 ./node_modules/react-dev-utils/formatWebpackMessages.js 模块未找到:无法解析 - Failed to compile. ./node_modules/react-dev-utils/formatWebpackMessages.js Module not found: Can't resolve 反应编译失败。 找不到模块:无法解决,如何使用react-router进行编译? - React Failed to compile. Module not found: Can't resolve, How to compile with react-router? 编译失败。 找不到模块:无法解析“react-router-dom” - Failed to compile. Module not found: Can't resolve 'react-router-dom' 编译失败。 ./src/reportWebVitals.js 中的错误。 reportWebVitals.js:“导入”和“导出”可能只出现在顶层 (3:4) - Failed to compile. Error in ./src/reportWebVitals.js. reportWebVitals.js: 'import' and 'export' may only appear at the top level (3:4) LineGraph.js:61 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '5/29/22') - LineGraph.js:61 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '5/29/22') 未找到模块:错误:angular 应用程序中的递归解析 - Module not found: Error: Recursion in resolving in angular app 如何解决 - 未找到模块:解析中的递归 - NPM - How to Solve - Module not found: Recursion in resolving - NPM 编译失败:找不到模块 - Failed to compile: module not found React / Redux项目给了我错误“无法编译。 模块构建失败:错误:ENOENT:没有这样的文件或目录'' - React/Redux project giving me the error 'Failed to compile. Module build failed: Error: ENOENT: no such file or directory''
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM