'getting error " Plugin "react" was conflicted between "package.json » "

F:\\React tutoria;\\tut-3\\my-app\>npm run build

[email protected] 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



Solution 1:[1]

the solution for that is simply go to package.json file and delete the eslint-config

"eslintConfig": { "extends": [ "react-app", "react-app/jest" ] }, this one

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 karan bisht