angular项目,打包的时候报这个错误,错误原因很简单,定位到报错的位置后发现页面上定义了两个modalFooter,去掉一个或者把其中一个改名就可以了。 Post Views: 695 Related posts: UnitConsumptionIndexComponent.html:50 ERROR TypeError: Cannot read property ‘length’ of null Error trying to diff ‘xxxx’. Only arrays and iterables are allowed Component Xxx is not part of any NgModule or the module has not been imported into your module. angular执行package报错 allocation failure scavenge might not succeed An unhandled exception occurred: Could not find the implementation for builder @angular-devkit/build-ng-packagr:build See …… 分类: 常见报错 标签:angularReference