-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR in Plugin "react" was conflicted between "package.json » eslint-config-react-app » C:\Users\asus\desktop\google-clone\node_modules\eslint-config-react-app\base.js" and "BaseConfig » C:\Users\asus\Desktop\google-clone\node_modules\eslint-config-react-app\base.js". #4186
Comments
There is a conflict in the casing C:\Users\Ruben|desktop\reactapp\test.... whereas the nodemodules is looking for C:\Users\Ruben|Desktop\Reactapp\test.... This is a windows specific problem, and previously react would have run the app regardless of this difference. Not anymore it seems. The solution I used was to locate the folder and open with code; that ensures that the path matches directly with what is stored in node modules |
Open the package.json and type |
thanks |
hi all i am having this error in production , locally when I press ctrtl + s, it disappears but when I refresh the page it comes back |
Have the same issue... |
This repo is for react documentation. Support requests filed as GitHub issues often go unanswered. We want you to find the answer you're looking for, so we suggest the following alternatives: Coding Questions https://stackoverflow.com/questions/tagged/react Talk to other React developers https://reactjs.org/community/support.html Also if you find this to be a bug feel free to raise an issue at https://github.com/facebook/create-react-app/issues |
delete package.json and install again |
Are you using bash? Because bash doesn't care about the letter case of the path. This can be fixed by changing the path of your project in bash. You must reference the exact case of the path of your project Example:
|
You are right. I had the same issue when executing 'npm start' command on bash then i switched back to cmd the error has gone. Thank for your point. |
same here. |
i have same issue. i do ctr+s but when i refresh it comes back |
I had some trouble with this as well. What I did to fix it was to upgrade nodejs to V.16. I found the bug while on V.15. |
johannes67890 bro this worked thanks alot. |
Ran into this problem today and it turned out that the |
try to update |
I got the same issue. You can try using: |
hello me all i did was to update the babel-eslint and u also updated .eslintrc and it worked for me |
Also other solution is to set skip flag before star script: |
I too had the same issue. I am using Visual Studio Code. E:\React-Projects\playground\test-7>. Here test-7 is my project folder created using create-react-app. The folder playground actually starts with a capital p instead of small p in my laptop. I changed playground to Playground it worked!!! E:\React-Projects\Playground\test-7> This the changed version of my folder name |
I am using Bash and I have changed desktop to Desktop on my path and it works without the error now |
instead of "saving" your package.son everytime you make an update, go to your package.json and delete the following "eslintConfig": { Cheers! :) |
Still didn't work |
For those looking for the open issue - facebook/create-react-app#11825 |
Recreate your projects in lower case. Solution name case doesn't matter. |
GOD |
I got the same error apparently I was using the wrong path Desktop was capitalized so use cd Desktop NOT cd desktop I re ran npm start and it worked for me! Thanks guys |
saved me a lot of hair you did. |
It is just because of the capital letter used in the location of the file path. That's it. check it and make all the folder name to lowercase. |
Thanks. I thought it was fun but it worked like a charm. |
I get this error when I update my packages on my Macbook. With ctrl s the error went away but was coming back. It was fixed when I deleted node_modules and yarn.lock and created it again with yarn install. |
Issues is simple. exit terminal cd the correct path. when u cd'd u cd'd with the wrong case. |
I'm putting in my two cents, for me, the problem is a space in the path, remove the space, everything works. |
I stumbled across this issue when using a custom .eslintrc with a fresh CRA (react-scripts v5.0.0) project. I resolved this by removing This is my .eslintrc at the moment while using CRA (react-scripts v5.0.0):
Hopefully this helps. |
|
"eslintConfig": { |
Great thanks ! |
Thanks this is help me lot.😊😊😊 |
Saving the files over and over again is not a solution. |
This repository is for the React website. There is no relation between the topic you are discussing and the React website. If you have an issue with some plugin, please file it in the repo with that plugin. Thanks! |
Recently get this error. plz let me know how to fix this.
The text was updated successfully, but these errors were encountered: