Coding⏱️ 3 min read📅 2026-06-04

How to Fix: Error when deploying react app and it keeps sayings << Plugin "react" was conflicted between "package.json » eslint-config-react-app » >>

Plugin "react" was conflicted between "package.json " eslint-config-react-app ">, resolve by deleting node_modules and running npm install and npm start again.

Quick Answer: Delete node_modules, run npm install and npm start to resolve the conflict.

Error Message: 'Plugin "react" was conflicted between "package.json' eslint-config-react-app>>'

This error occurs when there is a conflict between the installed `react` package and the `eslint-config-react-app` configuration in your project's `package.json` file. It can be frustrating for developers who are new to React and npm, as it prevents them from successfully compiling their application.

🛑 Root Causes of the Error

  • The main reason for this error is that there are multiple versions of the `react` package installed in the project.
  • Another possible cause is that the `eslint-config-react-app` configuration in the `package.json` file is not properly configured or is outdated.

🛠️ Step-by-Step Verified Fixes

Resolving Conflicting Versions of React

  1. Step 1: Step 1: Uninstall the conflicting version of React using npm by running the command `npm uninstall react`. This will remove any existing installations of React from the project.
  2. Step 2: Step 2: Install the latest version of React using npm by running the command `npm install react@latest`. This will ensure that you have the most recent version of React installed in your project.
  3. Step 3: Step 3: Verify that the conflict has been resolved by checking the package.json file and ensuring that there are no longer any conflicting versions of React.

Updating eslint-config-react-app Configuration

  1. Step 1: Step 1: Update the `eslint-config-react-app` configuration in the `package.json` file to the latest version using npm by running the command `npm install eslint-config-react-app@latest`. This will ensure that your project is configured to use the most recent version of React.
  2. Step 2: Step 2: Verify that the conflict has been resolved by checking the package.json file and ensuring that there are no longer any conflicting versions of React.

🎯 Final Words

To resolve this error, you can try either resolving conflicting versions of React or updating the `eslint-config-react-app` configuration in your project's `package.json` file. By following these steps, you should be able to successfully compile your React application and avoid this error message.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions