These are chat archives for AngularClass/angular2-webpack-starter

17th
Aug 2016
Keerthivasan R
@keerthivasan-r
Aug 17 2016 01:19
Hi guys, I would like to perform a route based on the value in local storage, for example when the user is already signed in, I should take the user to home page like Remember me option
but, it doesn't seem to be reliable. If I manually refresh, it doesn't work properly. It's going to login page
Another question is to perform redirection in the app, do I need to create a redirect component and reuse that throughout the application for redirection?? Thought
Chelen
@Chelen
Aug 17 2016 11:49

Hi there, I've been banging my head against a zone related error when running tests

Uncaught Error: Missing: SyncTestZoneSpec
at /config/spec-bundle.js:8203 <- webpack:///~/zone.js/dist/jasmine-patch.js:66:0

My spec.bundle looks like the default one, and i've reverted most changes but the error is still there.. replaced package.json for original one to see if it was a dependency error.. but nothing seems to fix it.
Can anybody point me what can I be missing?

Chelen
@Chelen
Aug 17 2016 12:07

Hi there, I've been banging my head against a zone related error when running tests

Uncaught Error: Missing: SyncTestZoneSpec
at /config/spec-bundle.js:8203 <- webpack:///~/zone.js/dist/jasmine-patch.js:66:0

My spec.bundle looks like the default one, and i've reverted most changes but the error is still there.. replaced package.json for original one to see if it was a dependency error.. but nothing seems to fix it.
Can anybody point me what can I be missing?

ok.. forcing zone.js:0.6.12 fixed it ... 0.6.14 is not working

Michael Robison
@handsofblue67
Aug 17 2016 16:59
I updated a project build on angular2-webpack-starter to rc5, build:dev and dev server run, but I get template parsing errors when doing a build:prod. Any Ideas?
Chris Grant
@ChrisGrant
Aug 17 2016 17:00
@handsofblue67 what errors?
Michael Robison
@handsofblue67
Aug 17 2016 17:02
@ChrisGrant
Error: Template parse errors:
Can't bind to 'isMenuShowing' since it isn't a known property of 'app-menu-dialog'.
1. If 'app-menu-dialog' is an Angular component and it has 'isMenuShowing' input, then verify that it is part of this module.
2. If 'app-menu-dialog' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schema' of this component to suppress this message.
 ("ding">
    <app-branding (onMenuClicked)="showMenuClicked($event)"></app-branding>
    <app-menu-dialog [ERROR ->][isMenuShowing]="isMenuShowing" class="user-name-menu" (onMenuItemClicked)="showItemClicked($event)">"): t@2:18
Michael Robison
@handsofblue67
Aug 17 2016 17:27
Removing uglify resolves this... Unfortunately, I need to use it.
Michael Robison
@handsofblue67
Aug 17 2016 18:02
and solution: angular/angular#10618
Puncoz Nepal
@puncoz
Aug 17 2016 18:33
hello im having a problem
what is the correct ways to import third party library list ng2-slim-loading-bar in angular cli webpack