【发布时间】:2021-11-17 13:01:43
【问题描述】:
根据this tutorial 将我的项目结构更改为 Angular 中的 monorepo 结构后,我遇到了许多配置错误,经过大量故障排除后我设法解决了这些错误。
完整的错误读取
Cannot find "lint" target for the specified project.
You should add a package that implements linting capabilities
这个错误的变体
Schema validation failed with the following errors:
Data path "" must have required property 'lintFilePatterns'.
这两个错误都可以通过正确配置angular.json 来修复。
在下面找到修复的详细信息
【问题讨论】: