[英]Plugin React was cnonflicted between package.json
Any project I create using我使用创建的任何项目
npx create-react-app
When compiling the project, the same message always appears:编译项目时,总是出现同样的信息:
Plugin react'' was conflicted between package.json eslint-config-react-app and BaseConfig
I've tried deleting and reinstalling eslint, but to no avail.我试过删除并重新安装 eslint,但无济于事。
The only alternative so far was to Ctrl + S all the time on the package.json
file to compile it again到目前为止,唯一的选择是一直在
package.json
文件上按 Ctrl + S 再次编译它
I had the same problem and the cause of the problem for me was that when I cd'ed into my project's directory, I wrote the folder names in lower case, while the actual folders were named in sentence case.我有同样的问题,对我来说问题的原因是当我进入我的项目目录时,我用小写字母写了文件夹名称,而实际文件夹是以句子命名的。
So make sure that the path you cd into from the terminal has the same exact capitalization as the real path.因此,请确保您从终端 cd 进入的路径与真实路径具有完全相同的大小写。 Doing that fixed the problem for me.
这样做为我解决了问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.