Windows 7
@angular/cli: 1.0.0-beta.31
node: 6.9.1
os: win32 x64
@angular/common: 2.4.8
@angular/compiler: 2.4.8
@angular/core: 2.4.8
@angular/forms: 2.4.8
@angular/http: 2.4.8
@angular/platform-browser: 2.4.8
@angular/platform-browser-dynamic: 2.4.8
@angular/router: 3.4.8
@angular/cli: 1.0.0-beta.31
@angular/compiler-cli: 2.4.8
No error information
More information please refer to https://github.com/angular/angular/issues/14592
Are you loading the appropriate polyfills in src\polyfills.ts? I believe in newer versions of the CLI the IE11 polyfills are commented out by default.
@mattdistefano You are right, after importing polyfills.ts in main.ts, it works. Thanks
Linking polyfills.ts for those looking for the updates like me.
Hi,
My angular 5 project also has error invendor.bundle.js even importing the polyfill.ts and enable polyfills for IE browser, not sure why this happens. It works well in chrome and firefox.
SCRIPT1002: Syntax error
File: vendor.bundle.js, Line: 5552, Column: 1
@abbymrs same problem
Same problem, did you find anything @abbymrs @miloskovacevic ?
@nohanna hey, in my case problem was signalr library that we use.
Ok thanks, I will investigate but I tried a lot of solutions and nothing works...
After you insert pollyfils for IE11, and you still have a error, usually is some library that is creating a problem.
Ok thank you, I'll try to remove libraries one by one
np
In case it's useful to anyone who finds this thread, we ran into this issue because we were using the latest version of d3-array. Went looking through the release notes and found this nugget in v2.0:
this release adopts ES2015 language features such as for-of and drops support for older browsers, including IE. If you need to support pre-ES2015 environments, you should stick with d3-array 1.x or use a transpiler.
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._
Most helpful comment
Hi,
My angular 5 project also has error in
vendor.bundle.jseven importing thepolyfill.tsand enable polyfills for IE browser, not sure why this happens. It works well in chrome and firefox.