相关疑难解决方法(0)

"export '??inject' was not found in '@angular/core'

当我尝试在我的角度应用程序中使用MatToolBar时出现此错误。在浏览器中,我Uncaught TypeError: Object(...) is not a function在控制台中也收到警告:

WARNING in ./node_modules/@angular/cdk/esm5/text-field.es5.js 146:151-159
"export '??inject' was not found in '@angular/core'

WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 2324:206-214
"export '??inject' was not found in '@angular/core'
Run Code Online (Sandbox Code Playgroud)

我该如何解决?在github上,这是一个封闭的问题。

angular-material angular

9
推荐指数
4
解决办法
9955
查看次数

无法运行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 ×2

angular-cli ×1

angular-material ×1

angular7 ×1

npm ×1