angular-cli-v8

Angular 8: Object doesn't support property or method 'includes'

时光总嘲笑我的痴心妄想 提交于 2020-12-05 11:42:05
问题 I am building an application in angular8. I worked on angular5/6/7 and for those applications, I uncommented the imports that exist in the polyfills.ts. For angular 8, it has only 3 imports i.e classlist.js, web-animation-js and zone.js/dist/zone. My application is working fine in IE. But I started using the includes function to see if an item exists. It works fine in chrome. In IE it throws Object doesn't support property or method 'includes' error. 回答1: includes is a function that exist on

Call retries were exceeded exception while ng build

走远了吗. 提交于 2020-08-21 05:49:42
问题 I am facing an exception while ng build (generating ES5 bundles for differential loading...) An unhandled exception occured: Call retires were exceeded Used versions: Angular-CLI: 8.3.20 Angular: 8.2.7 Node: 12.12.1 Also in logs, it is mentioned [error] Error: Call retries were exceeded at ChildProcessWorker.initialize 回答1: Update 10.02.2019 This was a problem of the @angular/cli . Updating the version to >= 8.3.22 should fix the issue: see this comment in #16515 ORIGINAL Basically the build