node_modules/@clr/angular/popover/common/popover-host-anchor.token.d.ts(2,58)中的错误:错误TS2315:类型'ElementRef'不是通用的

时间:2018-06-18 08:45:46

标签: angular angular-cli

我使用clear-ui来构建我的应用程序 我只是做了npm更新并重建我的应用程序,它已停止工作
低于错误

** NG Live Development Server is listening on localhost:4200, open your 
browser on http://localhost:4200/ **
Date: 2018-06-18T08:38:02.478Z                                                       
Hash: 938331c2d2650db9b80f
Time: 5293ms
chunk {inline} inline.bundle.js (inline) 3.85 kB [entry] [rendered]
chunk {main} main.bundle.js (main) 2.91 kB [initial] [rendered]
chunk {polyfills} polyfills.bundle.js (polyfills) 577 bytes [initial]     [rendered]
chunk {styles} styles.bundle.js (styles) 1.23 MB [initial] [rendered]
chunk {vendor} vendor.bundle.js (vendor) 852 kB [initial] [rendered]

ERROR in node_modules/@clr/angular/popover/common/popover-host-    anchor.token.d.ts(2,58): error TS2315: Type 'ElementRef' is not generic.




npm --version 
6.1.0

node --version 
v6.14.3

0 个答案:

没有答案