简体   繁体   English

无法加载要扩展的配置“react-app”。 引用自:C:\\package.json

[英]Failed to load config "react-app" to extend from. Referenced from: C:\\package.json

package.json package.json

"eslintConfig": { "extends": [ "react-app", "react-app/jest" ] }, "eslintConfig": { "extends": [ "react-app", "react-app/jest" ] },

I just have the same error: for some reason, your react-scripts package is too old (mine was 1.1.5 ).我只是有同样的错误:由于某种原因,您的react-scripts package 太旧了(我的是1.1.5 )。 Find and change it in package.json to a more up-to-date version, say 4.0.3 , then run npm update to solve the issue.package.json中查找并将其更改为更新的版本,例如4.0.3 ,然后运行npm update以解决问题。

My react-scripts version is 5.0.0, and I still have this problem.我的 react-scripts 版本是 5.0.0,我还是有这个问题。

暂无
暂无

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

相关问题 Netlify/Craco 无法加载要扩展的配置“react-app”。 引用自:/opt/build/repo/package.json - Netlify/Craco Failed to load config "react-app" to extend from. Referenced from: /opt/build/repo/package.json eslint 无法加载要扩展的配置“react-app”。 在项目中进行更改时 - eslint Failed to load config "react-app" to extend from. when making changes in project heroku 无法加载要扩展的配置“airbnb”。 引用自:/app/.eslintrc.json - heroku Failed to load config "airbnb" to extend from. Referenced from: /app/.eslintrc.json 创建 React 应用程序 - (ESLint) 无法加载要扩展的配置“shared-config”。 引用自:<PATH> 在 Visual Studio 中 - Create React App - (ESLint) Failed to load config "shared-config" to extend from. Referenced from: <PATH> in Visual Studio eslint 无法加载配置“react-app”以扩展 - eslint failed to load config "react-app" to extend from 无法加载要扩展的配置“@ljharb”。 (ESLint 8,网页包 5) - Failed to load config "@ljharb" to extend from. (ESLint 8, Webpack 5) 如何解决无法加载配置“更漂亮”以进行扩展。 在反应 Js - How to Resolve Failed to load config “prettier” to extend from. in react Js 语法错误:错误:无法加载要扩展的配置“ckeditor5”。 将 CKEditor 导入 Vuejs 时 - Syntax Error: Error: Failed to load config “ckeditor5” to extend from. While importing CKEditor to Vuejs 无法加载在“package.json » eslint-config-react-app”中声明的插件“import”:找不到模块“typescript/package.json” - Failed to load plugin 'import' declared in 'package.json » eslint-config-react-app': Cannot find module 'typescript/package.json' 无法加载在“package.json » eslint-config-react-app »”中声明的插件“react”:输入意外结束 - Failed to load plugin 'react' declared in 'package.json » eslint-config-react-app » ': Unexpected end of input
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM