角项目成功构建,但出现这些错误 [英] Angular project Build successfully but giving these errors
本文介绍了角项目成功构建,但出现这些错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在项目运行和构建后,向我显示这些错误
It shows me these errors after the project is run and build
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.
任何人都可以指导我如何解决这个问题?
Can anyone guide me how can I solve this problem?
推荐答案
您需要再次安装flax-layout
you need to install flax-layout again
npm uninstall @angular/flex-layout --save
比
npm install @angular/flex-layout@6.0.0.15-beta --save
这篇关于角项目成功构建,但出现这些错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文