You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
browser_adapter.ts:73 EXCEPTION: Error: Uncaught (in promise): RangeError: Maximum call stack size exceeded #465
I just cloned latest version of angular2-webpack-starter and setup my project. When I run npm run server it works ok, but when I try to get prod version with npm run build:prod and npm run server:prod I'm getting this error:
browser_adapter.ts:73 EXCEPTION: Error: Uncaught (in promise): RangeError: Maximum call stack size exceeded
zone.ts:855 Unhandled Promise rejection: Maximum call stack size exceeded ; Zone: angular ; Task: Promise.then ; Value: RangeError: Maximum call stack size exceeded
at e._instantiate (http://localhost:8080/vendor.82d45b5a31d9cd9d56a5.bundle.js:15:3619)
at e._instantiateProvider (http://localhost:8080/vendor.82d45b5a31d9cd9d56a5.bundle.js:15:1456)
at e._new (http://localhost:8080/vendor.82d45b5a31d9cd9d56a5.bundle.js:15:1185)
at e.instantiateProvider (http://localhost:8080/vendor.82d45b5a31d9cd9d56a5.bundle.js:14:28611)
at e.init (http://localhost:8080/vendor.82d45b5a31d9cd9d56a5.bundle.js:5:19934)
at new e (http://localhost:8080/vendor.82d45b5a31d9cd9d56a5.bundle.js:5:12832)
at viewFactory_t0 (viewFactory_t:82:16)
at viewFactory_t0 (viewFactory_t:84:1)
at viewFactory_t0 (viewFactory_t:84:1)
at viewFactory_t0 (viewFactory_t:84:1)
Activity
antonmoiseev commentedon Mar 27, 2016
Try disabling mangling here:
mangle: false.elvirdolic commentedon Mar 29, 2016
is this something related to the current angular beta 12 version?
I have the same issue and it only works when disabling mangle.
PatrickJS commentedon Mar 30, 2016
I turned mangle to false so this problem won't happen again