'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 1:[1]

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.

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 dalevross