Encountering errors in Angular 4.2.4 (Angular-CLI 1.1.3) on IE11 - Specifically getting SCRIPT1002: Syntax error
and
SCRIPT5007: Unable to get property 'call' of undefined or null reference
. Polyfills are in place, yet the issues persist. What could be missing in this setup?
The error message
Unable to get property 'call' of undefined or null reference
points to bootstrap 50034e0a1f93dabcb117 (54, 1)
without specifying a filename. On the other hand, Syntax error
indicates an issue in vendor.bundle.js (63117,26)
, where the script appears as:
window.setTimeout(() => {
window.removeEventListener('click', suppressClick, true);
}, 0);
Update: Upon closer inspection, it seems that the problem lies in ES6 code not being compiled down to ES5 as expected.