Correct Naming Conventions
First of all, make sure your naming conventions are right, (Try using lowercase most of the time).
This example fixes the conflict because of the naming convention difference. We need to be careful with uppercase and lowercase to avoid this error. Notice the change in the path in the following two pictures.
This error is common in the windows operating system if there is any kind of difference in your naming conventions. Open your project explorer and go to the correct directory, check if the name follows the same case and run the project again.
If the error still persists then we will follow another approach.
Plugin “react” was conflicted between “package.json » eslint-config-react-app
The error Plugin “react” was conflicted between package.json and eslint-config-react-app generally arises when there is a conflict in naming convention or package.json data. However, this is not the only reason for this conflict. Some of the other reasons can be due to a different version or conflict in project dependencies.
Error image from Terminal Window:
We can use these approaches to solve this error
Table of Content
- Correct Naming Conventions
- Updating dependencies
- Updating node package manager (NPM)