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.
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.
please use npm update -g
where g
is global.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.