'i am facing a windows case problem with npm start

I am facing this error when I am trying to start a react project:

Plugin "react" was conflicted between "package.json » eslint-config-react-app » C:\Users\Júlio\desktop\deletealso\node_modules\eslint-config-react-app\base.js" and "BaseConfig » C:\Users\Júlio\Desktop\deletealso\node_modules\eslint-config-react-app\base.js".

I think the error is due to the paths not matching and it seems to be a Windows problem. Does anyone know how can I fix that?



Solution 1:[1]

I have the same issue, extremely annoying ! if you open package.json with VSCode and save it, it will fix this, but you literally have to save it every time you make a change which is not very practical... i will be waiting for a solution to this as well.

Solution 2:[2]

For me, first, uninstall the eslint extension from VScode if you have installed it. Then run npm uninstall -g eslint, then run npm install -g eslint to reinstall eslint extension in VScode. Then close your terminal & VSCode and reopen them and try npm start again. It works for me.

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 React newbie
Solution 2 Ray1991