[英]Failed to load plugin 'react' declared in 'package.json » eslint-config-react-app » ': Unexpected end of input
I created a react project, and it has been working but it just started bringing up this error Failed to load plugin 'react' declared in 'package.json » eslint-config-react-app » D:\Dev\fegig\omega\trade\node_modules\eslint-config-react-app\base.js': Unexpected end of input , i have tried re-saving my package.json file but it only fixed it temporarily我创建了一个反应项目,它一直在工作,但它刚刚开始出现这个错误Failed to load plugin 'react' declared in 'package.json » eslint-config-react-app » D:\Dev\fegig\omega\ trade\node_modules\eslint-config-react-app\base.js':输入意外结束,我尝试重新保存我的 package.json 文件,但它只是暂时修复了它
Please any ideas on how to fix this?请就如何解决这个问题提出任何想法? error image
错误图像
Try deleting the node module folder, and again install all of them, by running npm install, or yarn, depending on the type of package manager you are using.尝试删除节点模块文件夹,然后通过运行 npm install 或 yarn 再次安装所有这些文件夹,具体取决于您使用的 package 管理器的类型。
If you are linting make sure your syntax is correct in your package.json file you may be missing a comma or something simple like that.如果您正在检查,请确保您的 package.json 文件中的语法正确,您可能缺少逗号或类似的简单内容。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.