[英]getting error " Plugin "react" was conflicted between "package.json » "
F:\\React tutoria;\\tut-3\\my-app\>npm run build
my-app@0.1.0 build
react-scripts build
Creating an optimized production build...
Failed to compile.
Plugin "react" was conflicted between "package.json » eslint-config-react-app » F:\\React tutoria;\\tut-3\\my-app\\node_modules\\eslint-config-react-app\\base.js" and "BaseConfig » C:\\Users\\GAGAN BISHT\\AppData\\Roaming\\npm\\node_modules\\react-scripts\\node_modules\\eslint-config-react-app\\base.js".
I tried to save package.json file again and again but it doesn't work我试图一次又一次地保存 package.json 文件,但它不起作用
the solution for that is simply go to package.json file and delete the eslint-config解决方案就是 go 到 package.json 文件并删除 eslint-config
"eslintConfig": { "extends": [ "react-app", "react-app/jest" ] }, this one "eslintConfig": { "extends": [ "react-app", "react-app/jest" ] }, 这个
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.