Home > Blockchain >  "eslint-config-react-app" issue with create-react-app version 5
"eslint-config-react-app" issue with create-react-app version 5

Time:12-18

I have decided to upgrade to the new version of create-react-app and after doing so I tried launching the app via "npm start" and whenever it has loaded onto the screen the error below pops up:

Compiled with problems:X ERROR Plugin "react" was conflicted between "package.json » eslint-config-react-app » C:\Users\27par\Desktop\React Projects\development\finevines\node_modules\eslint-config-react-app\base.js" and "BaseConfig » C:\Users\27par\Desktop\React Projects\Development\finevines\node_modules\eslint-config-react-app\base.js".

Image of error: https://gyazo.com/a03be194379ea52e6d7ddd697eefb8aa

I am wondering if anyone else is having the same issue as me and if there is any possible fix for it.

Thank you.

CodePudding user response:

You need to update all the packages as in the case of eslint-config-react-app's package.json it would have the previous version of create-react-app. So, basically the error is telling you that you are updating to the new version, but the other libraries in your project use another version.

Try doing - npm run update

  • Related