I’ve used npx create-react-app
many times but just recently on the first test run of the newly installed app I got an error. The error message said:
[eslint] Plugin "react" was conflicted between "package.json » eslint-config-react-app » C:\users\name\new-app\node_modules\eslint-config-react-app\base.js" and "BaseConfig » C:\Users\name\new-app\node_modules\eslint-config-react-app\base.js".
This seems to be only an issue on Windows and something that has only recently started to happen. The error message looks like this:
To resolve the issue simply open the application in VS Code and run it again from the embedded terminal. That seems to resolve the error for good.
If you now run npm start
from your terminal the application will run and open with no error messages.