Search code examples
reactjscreate-react-appnpm-start

React - I need to save package.json again and again beetween compilatons


I compiled my react project with npm start and it's showing the following error:

Plugin "react" was conflicted between "package.json » eslint-config-react-app » C:\Users\Abc\Desktop\project\blog-mern\frontend\node_modules\eslint-config-react-app\base.js" and "BaseConfig » C:\Users\Abc\Desktop\Project\Blog-Mern\frontend\node_modules\eslint-config-react-app\base.js".

I need to save package.json again and again beetween compilatons to make it work. Is there is any permenent solution for this?


Solution

  • This happened to me since i´ve started to work with react the last week. Try to use a different console, if you use PowerShell change to Cmd (windows only)

    I think it´s because of path name resolving.