-
Notifications
You must be signed in to change notification settings - Fork 408
"Out of stack space" in IE #316
Comments
The same with angular 2 application in IE11 |
Any movement in solve issue? This cause endless wrap from DirectiveNormalizer.normalizeTemplateAsync point |
Seems some polyfill issue. Corrected polyfills |
outdated |
Same issue here. @Delagen Could you solve the problem? Which polyfill did you correct and how? |
@freezy I only replaced some polyfills with recommended in angular 2 docs, and issue was gone. |
@Delagen I'm using the same I've also tried just putting import 'core-js/es6';
import 'core-js/es7/reflect';
require('zone.js/dist/zone'); as described here, with the same result. Could you be a bit more specific what you've changed, which polyfills and which versions you're using? |
Please see: https://angular.io/docs/ts/latest/guide/browser-support.html
ie-shim use only requestAnimationFrame polyfill You may use Animation feature this not works in IE9 and require https://github.com/web-animations/web-animations-js for IE10+ also please check that no polyfills override or wrap setTimeout or setImmediate or other related functions |
I've tried adding This is a nightmare. I have no idea how to debug this. I will need to start from a minimal project and re-add component by component until I see where the problem is. The stacktrace is useless. Sometimes it's |
Try to start with simple core-js import instead of
|
I have the same issue, Here is what I tried:
Currently my polyfills are :
It seems to be an issue related to zone.js but I have no idea how to debug this. EDIT: I found the solution. It comes from one of our dependencies that enforces its own Promise implementation (from https://github.com/stefanpenner/es6-promise). Using this polyfill, zone.js silently fails and the application does not load. The solution is to remove any other Promise polyfill and use the one provided by zone.js. |
I have the same issue that I haven't been able to resolve by amending the polyfills.ts as discussed above (@freezy @sylvainpolletvillard @Delagen). Any ideas? You can see the code here: https://github.com/webtechy/sp-dev-fx-webparts/tree/master/samples/kendo-simplebutton (works in Chrome, but not IE). Polyfills is as follows:
And tried changing it to:
|
@webtechy , I will try it later, how to reproduce? just use your repository and load the page in IE11, correct? |
@JiaLiPassion Yep, once you have installed the node modules, you run it using |
Hi @JiaLiPassion - did you have any joy? Even if just a visual inspection of polyfill.ts might reveal something you are aware of? |
@webtechy , I will try to reproduce with your repository this week, it seems I need to register an account from kendo UI, I will update status when I have some results. |
@webtechy, I just installed and gulp serve, I can see the application run on IE11 without out of space error, do I need to change polyfills? |
Now that's strange as not the behaviour i get. No console error? |
@webtechy , no error, a lot of console log was output, and I did some click, everything work fine, I tried zone.js@0.7.8 and zone.js@0.8.5 here is the screen shot. |
Ah, you need to click + and add the web part. |
@webtechy , I can reproduce, but I think it is a core-js problem, the out of space error is es6-map, and when error occurs, zone.js is not loaded yet. it may related to zloirock/core-js#143, so maybe you can post your reproduce workspace there, they can help you to resolve the issue better. |
I am facing with a "Out of stack space" in IE
SCRIPT28: Out of stack space
File: zone.js, Line: 385, Column: 18
SCRIPT2343: Stack overflow at line: 385
I am working with Angular2 and it is working fine in Chrome and firefox. But an error in IE.
My IE version is IE11 x64
Context of the error code:
The text was updated successfully, but these errors were encountered: