Angular CLI构建产品:TypeError:无法读取未定义问题的属性“种类”

时间:2019-11-21 14:20:06

标签: angular typescript angular-cli

Click here to see the error message     {         “ @ angular-devkit / build-angular”:“〜0.803.19”,         “ @ angular / cli”:“〜8.3.19”,         “ @ angular / compiler-cli”:“〜8.2.14”,         “ @ angular / language-service”:“〜8.2.14”,         “ @ types /茉莉花”:“〜3.3.8”,         “ @ types / jasminewd2”:“〜2.0.3”,         “ @ types / node”:“〜8.9.4”,         “ codelyzer”:“ ^ 5.0.0”,         “茉莉花芯”:“〜3.4.0”,         “ jasmine-spec-reporter”:“〜4.2.1”,         “ karma”:“〜4.1.0”,         “ karma-chrome-launcher”:“〜2.2.0”,         “业力报废的伊斯坦布尔记者”:“〜2.0.1”,         “业力茉莉花”:“〜2.0.1”,         “ karma-jasmine-html-reporter”:“ ^ 1.4.0”,         “量角器”:“〜5.4.0”,         “ ts-node”:“〜7.0.0”,         “ tslint”:“〜5.15.0”,         “ typescript”:“〜3.5.3”,         “ webpack-bundle-analyzer”:“ ^ 3.6.0”       }

2 个答案:

答案 0 :(得分:0)

我认为您的typescript版本3.5.3已更新为3.7.0

答案 1 :(得分:0)

我通过减少angular.json文件中的预算值解决了该问题。感谢您的帮助!