• angular使用@angular/material 出现"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'
    
    WARNING in ./node_modules/@angular/cdk/esm5/overlay.es5.js 4172:172-180
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/overlay.es5.js 4172:197-205
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/overlay.es5.js 4172:217-225
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 2956:160-168
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 2324:188-196
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/overlay.es5.js 5048:184-192
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 2324:145-153
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/platform.es5.js 102:130-138
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 2038:204-212
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 2038:186-194
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/observers.es5.js 195:151-159
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 2038:154-162
    "export 'ɵɵinject' was not found in '@angular/core'
    
    1mWARNING in ./node_modules/@angular/cdk/esm5/scrolling.es5.js 663:154-162
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/scrolling.es5.js 663:172-180
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 1361:166-174
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/scrolling.es5.js 2337:145-153
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/scrolling.es5.js 2337:165-173
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/overlay.es5.js 527:240-248
    "export 'ɵɵinject' was not found in '@angular/core'
    i 「wdm」: Compiled with warnings.
    i 「wdm」: Compiling...
    
    Date: 2019-07-03T07:15:47.403Z - Hash: cec970f45ddcc812cc08 - Time: 429ms
    5 unchanged chunks
    
    WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 456:55-73
    "export 'ɵɵdefineInjectable' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/collections.es5.js 524:67-85
    "export 'ɵɵdefineInjectable' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 1361:62-80
    "export 'ɵɵdefineInjectable' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/scrolling.es5.js 2337:55-73
    "export 'ɵɵdefineInjectable' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 2038:58-76
    "export 'ɵɵdefineInjectable' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/scrolling.es5.js 663:58-76
    "export 'ɵɵdefineInjectable' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/observers.es5.js 195:57-75
    "export 'ɵɵdefineInjectable' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/observers.es5.js 38:65-83
    "export 'ɵɵdefineInjectable' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 2324:55-73
    "export 'ɵɵdefineInjectable' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/platform.es5.js 102:50-68
    "export 'ɵɵdefineInjectable' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/overlay.es5.js 5048:68-86
    "export 'ɵɵdefineInjectable' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/overlay.es5.js 4172:64-82
    "export 'ɵɵdefineInjectable' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/overlay.es5.js 930:58-76
    "export 'ɵɵdefineInjectable' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 2956:54-72
    "export 'ɵɵdefineInjectable' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/overlay.es5.js 824:67-85
    "export 'ɵɵdefineInjectable' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/overlay.es5.js 527:63-81
    "export 'ɵɵdefineInjectable' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/material/esm5/core.es5.js 1452:59-77
    "export 'ɵɵdefineInjectable' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/bidi.es5.js 91:56-74
    "export 'ɵɵdefineInjectable' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/overlay.es5.js 4172:237-245
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/bidi.es5.js 91:148-156
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/overlay.es5.js 527:169-177
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/overlay.es5.js 527:197-205
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/overlay.es5.js 527:222-230
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 456:145-153
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 2956:142-150
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/overlay.es5.js 824:181-189
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 2324:226-234
    "export 'ɵɵinject' was not found in '@angular/core'm
    
    WARNING in ./node_modules/@angular/cdk/esm5/overlay.es5.js 930:154-162
    "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'
    
    WARNING in ./node_modules/@angular/cdk/esm5/overlay.es5.js 4172:172-180
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/overlay.es5.js 4172:197-205
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/overlay.es5.js 4172:217-225
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 2956:160-168
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 2324:188-196
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/overlay.es5.js 5048:184-192
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 2324:145-153
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/platform.es5.js 102:130-138
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 2038:204-212
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 2038:186-194
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/observers.es5.js 195:151-159
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 2038:154-162
    "export 'ɵɵinject' was not found in '@angular/core'
    
    1mWARNING in ./node_modules/@angular/cdk/esm5/scrolling.es5.js 663:154-162
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/scrolling.es5.js 663:172-180
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/a11y.es5.js 1361:166-174
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/scrolling.es5.js 2337:145-153
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/scrolling.es5.js 2337:165-173
    "export 'ɵɵinject' was not found in '@angular/core'
    
    WARNING in ./node_modules/@angular/cdk/esm5/overlay.es5.js 527:240-248
    "export 'ɵɵinject' was not found in '@angular/core'

    这个问题解答:

    https://github.com/angular/angular/issues/30413 

  • 相关阅读:
    JavaEE Tutorials (25)
    洛谷 P2677 超级书架 2
    洛谷 P1029 最大公约数和最小公倍数问题
    洛谷 P1305 新二叉树
    洛谷 P3817 小A的糖果
    洛谷 P1618 三连击(升级版)
    洛谷 P2097 资料分发1
    洛谷 P1068 分数线划定
    洛谷 P1207 [USACO1.2]双重回文数 Dual Palindromes
    洛谷 P1223 排队接水
  • 原文地址:https://www.cnblogs.com/jsersudo/p/11126692.html
Copyright © 2020-2023  润新知