简体   繁体   English

模式验证失败,出现以下错误@ angular-devkit

[英]Schema validation failed with the following errors @angular-devkit

While start NgServe I getting the below error. 启动NgServe时出现以下错误。 I have cleared the cache multiple times and also updated the NPM. 我已多次清除缓存并更新了NPM。 while installing NPM i have not got any issues. 在安装NPM时,我没有任何问题。 Using Angular NGServe Command I'm unable to proceed further. 使用Angular NGServe命令,我无法继续进行操作。 Kindly help in proceeding further and let me know in case of any further details required. 请帮助进一步进行,如有任何其他详细信息,请告知我。

ng serve
Your global Angular CLI version (7.3.9) is greater than your local
version (7.1.4). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".
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] 
    (C:\workspace\web\space\POC\app-ui\node_modules\@angular\cli\node_modules\@angular-devkit\core\src\workspace\workspace.js:215:42)
    at MergeMapSubscriber._tryNext (C:\workspace\web\space\POC\app-ui\node_modules\rxjs\internal\operators\mergeMap.js:69:27)
    at MergeMapSubscriber._next (C:\workspace\web\space\POC\app-ui\node_modules\rxjs\internal\operators\mergeMap.js:59:18)
    at MergeMapSubscriber.Subscriber.next (C:\workspace\web\space\POC\app-ui\node_modules\rxjs\internal\Subscriber.js:67:18)
    at MergeMapSubscriber.notifyNext (C:\workspace\web\space\POC\app-ui\node_modules\rxjs\internal\operators\mergeMap.js:92:26)
    at InnerSubscriber._next (C:\workspace\web\space\POC\app-ui\node_modules\rxjs\internal\InnerSubscriber.js:28:21)
    at InnerSubscriber.Subscriber.next (C:\workspace\web\space\POC\app-ui\node_modules\rxjs\internal\Subscriber.js:67:18)
    at MapSubscriber._next (C:\workspace\web\space\POC\app-ui\node_modules\rxjs\internal\operators\map.js:55:26)
    at MapSubscriber.Subscriber.next (C:\workspace\web\space\POC\app-ui\node_modules\rxjs\internal\Subscriber.js:67:18)
    at SwitchMapSubscriber.notifyNext (C:\workspace\web\space\POC\app-ui\node_modules\rxjs\internal\operators\switchMap.js:86:26)

ng update @ angular / cli @ angular / core试试这个

暂无
暂无

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

相关问题 更新 Angular 找不到 angular-devkit - Updating Angular can not find angular-devkit Angular 架构验证失败并出现以下错误:数据路径“”不应具有其他属性(rebaseRootRelativeCssUrls - Angular Schema validation failed with the following errors: Data path “” should NOT have additional properties(rebaseRootRelativeCssUrls Angular 13 迁移:架构验证失败并出现以下错误:数据路径“/错误”必须是字符串 - Angular 13 migration : Schema validation failed with the following errors: Data path "/error" must be string 找不到模块“@angular-devkit/core” - Cannot find module '@angular-devkit/core' 错误:找不到模块“@angular-devkit/schematics”和找不到模块“@angular-devkit/schematics” - Error: Cannot find module '@angular-devkit/schematics' and Cannot find module '@angular-devkit/schematics' "基本角度应用程序无法运行,错误模块构建失败:找不到模块..\/@angular-devkit\/src\/babel\/X" - Basic angular app fails to run, Error module build failed : cannot find module ../@angular-devkit/src/babel/X 找不到模块“@angular-devkit/build-angular” - Could not find module "@angular-devkit/build-angular" Angular获取无法找到模块'@ angular-devkit / core' - Angular getting Cannot find module '@angular-devkit/core' 找不到模块“@angular-devkit/build-angular” - Can not find module “@angular-devkit/build-angular” 使用angular / cli创建新项目时出现错误@ angular-devkit - Error @angular-devkit when creating new project with angular/cli
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM