Skip to content
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

Error IE11 (polyfill) #11384

Closed
haengjin opened this issue Jun 27, 2018 · 10 comments
Closed

Error IE11 (polyfill) #11384

haengjin opened this issue Jun 27, 2018 · 10 comments

Comments

@haengjin
Copy link

haengjin commented Jun 27, 2018

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request

Area

- [ ] devkit
- [ ] schematics

Versions

linux
node v8.9.4
npm 5.6.0
"@angular/cli": "~6.0.5",
"@angular/compiler-cli": "^6.0.3",

Repro steps

The log given by the failure

I run "ng serve" and open page on ie11. I got the error.
(it is working on chrome)

this is problem line (runtime.js-bootstrap)
var oldJsonpFunction = jsonpArray.push.bind(jsonpArray);

error message
SCRIPT438: Object doesn't support property or method 'bind'

Desired functionality

Mention any other details that might be useful

I uncomment in polyfills.ts
import 'core-js/es6/symbol';
import 'core-js/es6/object';
import 'core-js/es6/function';
import 'core-js/es6/parse-int';
import 'core-js/es6/parse-float';
import 'core-js/es6/number';
import 'core-js/es6/math';
import 'core-js/es6/string';
import 'core-js/es6/date';
import 'core-js/es6/array';
import 'core-js/es6/regexp';
import 'core-js/es6/map';
import 'core-js/es6/weak-map';
import 'core-js/es6/set';
import 'classlist.js'
import 'core-js/es6/reflect';
import 'core-js/es7/reflect';
import 'core-js/es7/array';

network loading order
runtime.js > polyfills.js > styles.js > scripts.js > vendor.js > main.js

and I should open site on compatibility view
(User always check Display intranet sites in Compatibility View)

@haengjin
Copy link
Author

solve myself.

I added code to index.html

@clydin
Copy link
Member

clydin commented Jun 28, 2018

Closing as resolved.

@clydin clydin closed this as completed Jun 28, 2018
@mnick86
Copy link

mnick86 commented Jul 3, 2018

@haengjin what did you do to solve the issue?

@rk-ravikiran
Copy link

what is the code you have added in index.html? i have the same issue now for IE11

@haengjin
Copy link
Author

@mnick86 @rk-ravikiran
I added it in tag

<meta http-equiv="X-UA-Compatible" content="IE=edge">

@mubinahmed
Copy link

Same setup, but didn't work for me on IE11. Any other solution?

@prabagarane
Copy link

Same setup, but didn't work for me on IE11. Any other solution?

i am also facing the same issue, Can you please post the solution?

@sumitcodename47
Copy link

Worked like a charm..!
Thanks @haengjin

@FF128
Copy link

FF128 commented Jun 28, 2019

Thanks @haengjin. Still working now.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants