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

Module4 (Front-End Dev): not working in Internet Explorer 11 #24

Open
hhubik opened this issue Apr 11, 2016 · 1 comment
Open

Module4 (Front-End Dev): not working in Internet Explorer 11 #24

hhubik opened this issue Apr 11, 2016 · 1 comment

Comments

@hhubik
Copy link

hhubik commented Apr 11, 2016

Great tutorial! Thank you!. While going through Module 4 (Front-end dev), I notice that the demos in Exercise 2 don't work (most of the time) in IE 11 (Windows 10 x64) even though they work fine in Mozilla Firefox.

The stack:

HTML1300: Navigation occurred.
File: localhost:55804
EXCEPTION: SyntaxError: Expected ';'
EXCEPTION: SyntaxError: Expected ';'

EXCEPTION: Error: Uncaught (in promise): SyntaxError: Expected ';'
EXCEPTION: Error: Uncaught (in promise): SyntaxError: Expected ';'
STACKTRACE:
Error: Uncaught (in promise): SyntaxError: Expected ';'
at resolvePromise (http://localhost:55804/lib/npmlibs/angular2/angular2-polyfills.js:543:26)
at Anonymous function (http://localhost:55804/lib/npmlibs/angular2/angular2-polyfills.js:579:18)
at ZoneDelegate.prototype.invokeTask (http://localhost:55804/lib/npmlibs/angular2/angular2-polyfills.js:363:18)
at onInvokeTask (http://localhost:55804/lib/npmlibs/angular2/angular2.js:2208:15)
at ZoneDelegate.prototype.invokeTask (http://localhost:55804/lib/npmlibs/angular2/angular2-polyfills.js:363:18)
at Zone.prototype.runTask (http://localhost:55804/lib/npmlibs/angular2/angular2-polyfills.js:263:22)
at drainMicroTaskQueue (http://localhost:55804/lib/npmlibs/angular2/angular2-polyfills.js:482:26)
at invoke (http://localhost:55804/lib/npmlibs/angular2/angular2-polyfills.js:434:22)

I have seen a PR related to this on the Angular2 GitHub. The recommendation was to use an "IE Shim". Being new to this, I am not sure how/where to incorporated the shim in the tutorial code.

Any advice would be appreciated.

Thanks!

@webprofusion-chrisc
Copy link

webprofusion-chrisc commented Jun 1, 2016

Try including:

https://npmcdn.com/angular2/es6/dev/src/testing/shims_for_IE.js

In your index.html before other scripts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants