node.js - Uncaught TypeError: useValue,useFactory,data is not iterable! Angular 4 cli project error -


i new angular 4 , have created project angular cli , error

uncaught typeerror: usevalue,usefactory,data not iterable!  

enter image description here

i unable resolve it. installed , reinstalled cli , want know how can resolve it. did

ng new myprj   mkdir myprj   ng serve 

i fixed problem adding es6-shim script tag in index.html file:

< script > src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.22.1/‌​es6-shim.min.js">< /s‌​cript >

i running same issue when running ng test during travis deployment, though executed without error locally.

chromium 37.0.2062 (ubuntu 0.0.0) error uncaught typeerror: usevalue,usefactory,data not iterable! @ http://localhost:9876/_karma_webpack_/polyfills.bundle.js:830 

Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -