简体   繁体   English

出现错误“插件”反应“在”package.json»“之间发生冲突

[英]getting error " Plugin "react" was conflicted between "package.json » "

F:\\React tutoria;\\tut-3\\my-app\>npm run build

my-app@0.1.0 build
react-scripts build

Creating an optimized production build...
Failed to compile.

Plugin "react" was conflicted between "package.json » eslint-config-react-app » F:\\React tutoria;\\tut-3\\my-app\\node_modules\\eslint-config-react-app\\base.js" and "BaseConfig » C:\\Users\\GAGAN BISHT\\AppData\\Roaming\\npm\\node_modules\\react-scripts\\node_modules\\eslint-config-react-app\\base.js".

I tried to save package.json file again and again but it doesn't work我试图一次又一次地保存 package.json 文件,但它不起作用

the solution for that is simply go to package.json file and delete the eslint-config解决方案就是 go 到 package.json 文件并删除 eslint-config

"eslintConfig": { "extends": [ "react-app", "react-app/jest" ] }, this one "eslintConfig": { "extends": [ "react-app", "react-app/jest" ] }, 这个

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 插件“react”在“package.json”之间发生冲突 - Plugin "react" was conflicted between "package.json 插件“反应”在“package.json ...”和“BaseConfig ...”之间发生冲突 - Plugin "react" was conflicted between "package.json ..." and "BaseConfig ..." 插件“react”中的错误在“package.json » eslint-config-react-app 之间发生冲突 - ERROR in Plugin "react" was conflicted between "package.json » eslint-config-react-app 部署 React 应用程序时出错,它一直在说 &lt;&lt; Plugin "react" was conflicted between "package.json » eslint-config-react-app » &gt;&gt; - Error when deploying react app and it keeps sayings << Plugin "react" was conflicted between "package.json » eslint-config-react-app » >> 插件“react”在“package.json » eslint-config-react-app 之间发生冲突 - Plugin "react" was conflicted between "package.json » eslint-config-react-app 使用 nodemon 重新部署我的 React 应用程序时出错,它一直在说“插件“反应”在“package.json » eslint-config-react”-app » 之间发生冲突 - Error when redeploying my react app with nodemon it keeps sayings "Plugin "react" was conflicted between "package.json » eslint-config-react"-app » 插件 React 在 package.json 之间发生冲突 - Plugin React was cnonflicted between package.json 插件“react”中的错误在 - ERROR in Plugin "react" was conflicted between Create-react-app - 插件“react”中的错误在“.eslintrc.json”和“BaseConfig”之间发生冲突 - Create-react-app - ERROR in Plugin "react" was conflicted between ".eslintrc.json" and "BaseConfig" Heroku 没有为 react package.json 获取 PORT - Heroku is not getting PORT for react package.json
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM