Search code examples
reactjsasp.net-coreeslintoraclelinux

ERROR in Plugin "react" was conflicted between "package.json » eslint-config-react-app


I created a .NET Core React project on Oracle Linux 7. After installing all the necessary dependencies I ran into the following error in the console when I access the app from the web.

ERROR in Plugin "react" was conflicted between "package.json » eslint-config-react-app » /home/opc/amnathrig/node_modules/eslint-config-react-app/base.js" and "BaseConfig » /usr/lib/node_modules/react-scripts/node_modules/eslint-config-react-app/base.js".

The error message is clear but I have no idea how to get around it.


Solution

  • I was installing packages to the main application directory instead of the ClientApp folder. I thought about deleting the question but in the event someone else runs into this problem, this may be the cause.