它在项目运行和构建后向我显示这些错误
style.d.ts(72,67): error TS1144: '{' or ';' expected.
node_modules/@angular/flex-layout/extended/typings/style/style.d.ts(74,5): error TS1128: Declaration or statement expected.
node_modules/@angular/flex-layout/extended/typings/style/style.d.ts(74,33): error TS1005: ';' expected.
node_modules/@angular/flex-layout/extended/typings/style/style.d.ts(74,39): error TS1109: Expression expected.
node_modules/@angular/flex-layout/extended/typings/style/style.d.ts(79,5): error TS1128: Declaration or statement expected.
node_modules/@angular/flex-layout/extended/typings/style/style.d.ts(80,1): error TS1128: Declaration or statement expected.
谁能指导我如何解决这个问题?
最佳答案
需要重新安装flax-layout
npm uninstall @angular/flex-layout --save
比
npm install @angular/flex-layout@6.0.0.15-beta --save
关于javascript - Angular 项目构建成功但出现这些错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52779474/