插件“app”中的D:\Projets\Roster's\Client\node_modules\eslint-config-react-app\base.js“错误在"package.json”、“eslint-config-app”
和"BaseConfig“D:\Projets\Roster's\client\node_modules\eslint-config-react-app\base.js".
之间存在冲突。
发布于 2022-02-16 10:57:46
试一试
解决方案1:保存包文件(ctrl + s)。
解决方案2:npm uninstall eslint-config-react-app或yarn remove eslint-config-react-app
然后
npm i eslint-config-react-app@6或yarn add eslint-config-react-app@6
发布于 2022-04-24 18:31:23
您从终端进入的路径与实际路径具有不同的大写化,可见其中一个有"client“,另一个有"Client”。
D:\Projets\Roster's\Client\node_modules\eslint-config-react-app\base.js D:\Projets\Roster's\client\node_modules\eslint-config-react-app\base.js
当cd进入目录时,您应该检查是否使用与实际路径相同的大写字母。
我也有同样的问题,这就是我解决问题的原因。
https://stackoverflow.com/questions/71139511
复制相似问题