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

787 views Asked by At

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.

2

There are 2 answers

0
dalevross On BEST ANSWER

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.

0
Addagarla sai krishna On

please use npm update -g where g is global.