[英]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.