react-boilerplate / react-boilerplate-cra-template

:fire: Setup Create React App with React Boilerplate. Highly scalable & Best DX & Performance Focused & Best practices.
https://react-boilerplate.github.io/react-boilerplate-cra-template/
MIT License
1.87k stars 392 forks source link

Installing and starting the template app results in the error 'Plugin "react" was conflicted between ".eslintrc.js"' #210

Open JamesGabby opened 1 year ago

JamesGabby commented 1 year ago

Following from the GitHub installation guide, I run :

yarn create react-app --template cra-template-rb my-app

cd into my-app, run yarn start and get the resulting full error:

[eslint] Plugin "react" was conflicted between ".eslintrc.js » eslint-config-react-app » C:\Users\gabbs\myreactprojects\rupee-solutions\node_modules\eslint-config-react-app\base.js" and "BaseConfig » C:\. . .\node_modules\eslint-config-react-app\base.js".

ERROR in [eslint] Plugin "react" was conflicted between ".eslintrc.js » eslint-config-react-app » C:. . .\node_modules\eslint-config-react-app\base.js" and "BaseConfig » C:. . .\node_modules\eslint-config-react-app\base.js".

qeleb commented 1 year ago

Hi! did you ever sort this out? It's possible there is a version mismatch with the eslint react config.

Clemios commented 1 year ago

@JamesGabby it looks like you have an other version of eslint globally installed that cause the issue.