Search code examples
reactjsfrontendeslintpackage.json

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


I have been having a little bit of issues when deploying my create react app, as it fails to compile and tells me Plugin "react" was conflicted between "package.json » eslint-config-react-app »

I was wondering if somebody has encountered the same issue and knows how to solve it, thank you! I am still very new to all this.

eHere is what my windows powershell tells me once I npm start and launches

This is what my localhost looks like once my react app launches


Solution

  • There is a conflict in the casing

    C:\Users\Ruben\desktop\reactapp\test.... (lowercase desktop)

    Where as the nodemodules is looking for

    C:\Users\Ruben\Desktop\Reactapp\test.... (Desktop)

    This is a windows specific problem, and previously react would have run the app regardless of this difference. Not anymore it seems.

    The solution I used was to locate the folder and open with code; that ensures that the path matches directly with what is stored in node modules

    Edit:

    enter image description here