小编Anu*_*jan的帖子

无法运行Angular应用程序时出现错误:模式验证失败

我在我的应用程序中使用Angular 7,在开发服务器上运行它时出现错误。

我没有服务

但是我下面有错误

      D:\suman\ftoss\New TFS\FtossAngularWeb\Pre11WebV1>ng lint -fix 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.project (D:\suman\ftoss\New TFS\FtossAngularWeb\Pre11WebV1\node_modules\@angular-devkit\core\src\workspace\workspace.js:215:42)
         at MergeMapSubscriber._tryNext (D:\suman\ftoss\New TFS\FtossAngularWeb\Pre11WebV1\node_modules\rxjs\internal\operators\mergeMap.js:69:27)
        at MergeMapSubscriber._next …
Run Code Online (Sandbox Code Playgroud)

npm angular-cli angular angular7

6
推荐指数
2
解决办法
2428
查看次数

标签 统计

angular ×1

angular-cli ×1

angular7 ×1

npm ×1