angular - 架构验证失败,出现以下错误 : Data path ".builders[' app-shell' ]"should have required property ' class'

标签 angular

Schema validation failed with the following errors:
  Data path ".builders['app-shell']" should have required property 'class'.

Schema validation failed with the following errors:
  Data path ".builders['app-shell']" should have required property 'class'.
Error: Schema validation failed with the following errors:
  Data path ".builders['app-shell']" should have required property 'class'.
    at MergeMapSubscriber._registry.compile.pipe.operators_1.concatMap.validatorResult [as project] (D:\repo\beauty-velvettes-web\node_modules\@angular\cli\node_modules\@angular-devkit\core\src\workspace\workspace.js:210:42)
    at MergeMapSubscriber._tryNext (D:\repo\beauty-velvettes-web\node_modules\@angular\cli\node_modules\rxjs\internal\operators\mergeMap.js:65:27)
    at MergeMapSubscriber._next (D:\repo\beauty-velvettes-web\node_modules\@angular\cli\node_modules\rxjs\internal\operators\mergeMap.js:55:18)
    at MergeMapSubscriber.Subscriber.next (D:\repo\beauty-velvettes-web\node_modules\@angular\cli\node_modules\rxjs\internal\Subscriber.js:64:18)
    at MergeMapSubscriber.notifyNext (D:\repo\beauty-velvettes-web\node_modules\@angular\cli\node_modules\rxjs\internal\operators\mergeMap.js:84:26)
    at InnerSubscriber._next (D:\repo\beauty-velvettes-web\node_modules\@angular\cli\node_modules\rxjs\internal\InnerSubscriber.js:25:21)
    at InnerSubscriber.Subscriber.next (D:\repo\beauty-velvettes-web\node_modules\@angular\cli\node_modules\rxjs\internal\Subscriber.js:64:18)
    at MapSubscriber._next (D:\repo\beauty-velvettes-web\node_modules\@angular\cli\node_modules\rxjs\internal\operators\map.js:52:26)
    at MapSubscriber.Subscriber.next (D:\repo\beauty-velvettes-web\node_modules\@angular\cli\node_modules\rxjs\internal\Subscriber.js:64:18)
    at SwitchMapSubscriber.notifyNext (D:\repo\beauty-velvettes-web\node_modules\@angular\cli\node_modules\rxjs\internal\operators\switchMap.js:77:26)

最佳答案

尝试更新 package.json 文件,以便 "@angular-devkit/build-angular": "^0.800.1" 读取 "@ angular-devkit/build-angular": "^0.12.4"

然后在命令行中运行npm install

引用:https://stackoverflow.com/a/56537342

关于angular - 架构验证失败,出现以下错误 : Data path ".builders[' app-shell' ]"should have required property ' class',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56542518/

相关文章:

html - 可以使用 ionic2/3 更改 ionic 范围方向吗?

angular - 减少用于部署的 Angular 2 文件大小

javascript - Angular:用逗号格式化数字

angular - NullInjectorError:Angular 2中没有InjectionToken LOCAL_STORAGE的提供程序

javascript - 如何在 Angular 6 中取消 http 请求?

typescript - RxJs 订阅者,传递空值?

angular - 类型错误 : Cannot read properties of undefined (reading 'pipe' )

angular - 如何在 primeng 数据表上设置默认排序顺序?

typescript - 如何在 TypeScript 的 ReactiveX/rxjs 5 中使用 exhaustMap

javascript - 负载下拉值按字母顺序排列 Angular 6