-
Notifications
You must be signed in to change notification settings - Fork 12k
Build failing for IE 11 #9359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Could you provide a git repo we can use to reproduce this? Looking at your package.json it seems everything should be working fine. |
@hansl Here you go https://github.com/zaalbarxx/angular-ie11test . If you clone it, run |
Any updates on this ? |
The same problem happens with |
+1 |
1 similar comment
+1 |
I encountered the same problem importing
This worked for me, hope it works also for someone else until this issue will be solved. |
Any update on this ?? Anyway, thanks for this workaround @davidefavia , looks like not quite optimal, but I will check it out. |
Not sure if this issue (#9508) is similar, but I wanted to link to it from here for awareness. I'm having the same issue with my build in IE 11, both |
+1 |
I have the same issue with IE11 and library ngforage. The problem is only with --prod build and main bundle with contains class syntax and cause IE11 to crash. In debug mode build it works. CLI 1.7.3 and latest 6 tested. |
It is a problem with the library @ngforage version @ngforage/ngforage-ng5. It shortly became deprecated and new version resolves the problem. from npm :
|
Please contact the author(s) of the |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Hi!
I also noticed some problem with the transpilation build, I digged a bit into it, I have
@ngforage/ngforage-ng5
installed in my package.json and I noticed some weird stuff, during transpilation of@angular/common
the source code is taken fromesm5
directory while for thisng-forage
package it is taken fromesm2015
and it causes my build to fail in IE11 because I get the code that containsclass
syntax, also as far as I remember I've also seen some code from zone.js to also not being transpiled properly. Could someone explain to me how does the resolving of package main file work ? It is very weird to me as every package, but the one mentioned above seems to transpile properly. I checked package.json of if and it looks fine:...
Versions
Repro steps
OR
Observed behavior
main.js file contains code with
class
keyword and the code from ngforage-ng5 is in ES6 version even though it should notDesired behavior
main.js file should contain /dist/esm5/ version of ng-forage which is ES5 and IE11 ready
The text was updated successfully, but these errors were encountered: