Open MarkPieszak opened 7 years ago
Unhandled Promise rejection: Cannot read property 'push' of undefined ; Zone: <root> ; Task: Promise.then ; Value: TypeError: Cannot read property 'push' of undefined var UniversalModule = (function () { function UniversalModule(sharedStylesHost) { var domStyles = document.head.querySelectorAll('style'); var styles = Array.prototype.slice.call(domStyles) .filter(function (style) { return (style.innerText || style.textContent).indexOf('_ng') !== -1; }) .map(function (style) { return (style.innerText || style.textContent); }); styles.forEach(function (style) { sharedStylesHost._stylesSet.add(style); sharedStylesHost._styles.push(style); // <-- _styles doesn't exist }); }