小编mxr*_*ked的帖子

create-react-app 版本 5 的“eslint-config-react-app”问题

我决定升级到新版本的 create-react-app ,之后我尝试通过“npm start”启动该应用程序,每当它加载到屏幕上时,就会弹出以下错误:

\n

编译时出现问题:X\nERROR\n插件“react”与“package.json \xc2\xbb eslint-config-react-app \xc2\xbb C:\\Users\\27par\\Desktop\\React Projects\”之间发生冲突\development\\finevines\\node_modules\\eslint-config-react-app\\base.js”和“BaseConfig \xc2\xbb C:\\Users\\27par\\Desktop\\React Projects\\Development\\ Finevines\\node_modules\\eslint-config-react-app\\base.js”。

\n

错误图像:\n https://gyazo.com/a03be194379ea52e6d7ddd697eefb8aa

\n

我想知道是否有其他人遇到与我相同的问题,以及是否有任何可能的解决方案。

\n

谢谢。

\n

reactjs visual-studio-code create-react-app

5
推荐指数
2
解决办法
4863
查看次数