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

Aug 2017
Sarath DR
Aug 09 2017 11:09
ng e2e test timed out if I use [(ngModel)]=“stayLogin” in layout any idea why?
Dan Cancro
Aug 09 2017 16:28
I'm getting this error when trying to do a production AOT build of my project (angularclass branch). It seems to be looking for the lazy loaded module file
src/main/webapp/app/features/bernie/bernie.module.ts at
src/main/webapp/app/bernie/bernie.module.ts at
ERROR in ./compiled/src/main/webapp/app/app.module.ngfactory.ts
Module build failed: Error: Can't resolve './bernie/bernie.module' in '/Users/Dan/work/a/gba/src/main/webapp/app'
    at onError (/Users/Dan/work/a/gba/node_modules/enhanced-resolve/lib/Resolver.js:61:15)
    at loggingCallbackWrapper (/Users/Dan/work/a/gba/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19)
    at runAfter (/Users/Dan/work/a/gba/node_modules/enhanced-resolve/lib/Resolver.js:158:4)
Aug 09 2017 20:40
Hi guys tslint complains on this code, saying that Don’t use ‘Function’ as a type. Avoid using the Function type. Prefer a specific function type, like () => void. Is there anyway of formatting this in a way that tslint accepts? The suggestion () => void does not really work out.
interface AsyncRoutes {
  [component: string]: Es6PromiseLoader |
                               Function |
                FactoryEs6PromiseLoader |
                         FactoryPromise ;