安装@ angular / flex-layout软件包后启动服务器时出错

时间:2019-05-26 10:19:31

标签: angular typescript angular-flex-layout

您好,我想在我的应用程序上以及在运行命令时使用角亚麻

npm install @angular/flex-layout

它的安装正确,但是当我启动服务器ng服务时,我发现此错误,我使用的是角度7

ERROR in node_modules/@angular/flex-layout/extended/typings/class/class.d.ts(9,19): error TS2305: Module '"D:/TFS/Ta3alomLive/WebApp/node_modules/@angular/common/common"' has no exported member 'ɵNgClassImpl'.
node_modules/@angular/flex-layout/extended/typings/class/class.d.ts(9,33): error TS2305: Module '"D:/TFS/Ta3alomLive/WebApp/node_modules/@angular/common/common"' has no exported member 'ɵNgClassR2Impl'.
node_modules/@angular/flex-layout/extended/typings/style/style.d.ts(9,19): error TS2305: Module '"D:/TFS/Ta3alomLive/WebApp/node_modules/@angular/common/common"' has no exported member 'ɵNgStyleImpl'.
node_modules/@angular/flex-layout/extended/typings/style/style.d.ts(9,33): error TS2305: Module '"D:/TFS/Ta3alomLive/WebApp/node_modules/@angular/common/common"' has no exported member 'ɵNgStyleR2Impl'.
node_modules/@angular/flex-layout/flex/typings/flex-offset/flex-offset.d.ts(9,32): error TS2307: Cannot find module '@angular/cdk/bidi'.
node_modules/@angular/flex-layout/flex/typings/layout-gap/layout-gap.d.ts(9,32): error TS2307: Cannot find module '@angular/cdk/bidi'.

0 个答案:

没有答案