next.js - 构建 Next.js 项目时出错:无法加载配置“react-app”以扩展自
问题描述
我不能npm run build
我的下一个项目给我这个Error: Failed to load config "react-app" to extend from
。参考:
type: 'Error',
messageTemplate: 'extend-config-missing',
messageData:
{ configName: 'react-app',
importerName:
'/home/kh/development/projects/nextproject/.eslintrc.json' } }
和我的.eslintrc.json
档案
{
"plugins": ["testing-library", "jest-dom"],
"extends": [
"react-app",
"react-app/jest",
"plugin:testing-library/react",
"plugin:jest-dom/recommended"
]
}
解决方案
推荐阅读
- azure - 如何将 Azure 资源委派给任何其他用户?
- python - Gunicorn 的 worker_exit
- nestjs - Nest JS 拦截器的依赖注入未定义
- xamarin.forms - Xamarin.Forms 使用旧 Macbook Pro 开发
- javascript - 将 HTML5 地理位置纬度和经度值插入数据库
- ios - IOS:为 ARKit 和 Vision 提亮上游
- reactjs - useRef() 而不是仅仅声明一个变量有什么好处?
- symfony - 带有 gitlab-ci 的 Phpstan 找不到 srcApp_KernelDevDebugContainer.xml,因为它在 gitignore 中?
- date - 谷歌脚本 - 日期错误的月份
- vba - 使用 VBA 在 MS Word 中组合富文本内容控件内容