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

15th
Sep 2015
choeller
@choeller
Sep 15 2015 12:26
Hi, I was just trying to run the "big" app, by copying the app folder from /examples/app to the root folder, but I seems, that the app is not up to date with the current Angular version. I get the following errors / warnings:
WARNING in ./bootstrap.ts
(16,8): Cannot find module '../common/change_detection_bindings'. (2307)

WARNING in ./bootstrap.ts
(20,8): Cannot find module '../common/location_bindings'. (2307)

WARNING in ./bootstrap.ts
(25,9): Module '"angular2/angular2"' has no exported member 'HTTP_BINDINGS'. (2305)

WARNING in ./components/app.ts
(48,7): Argument of type '{ pipes: (typeof CapitalizePipe | typeof RxPipe)[][]; directives: any[][]; styles: any[]; templat...' is not assignable to parameter of type '{ templateUrl?: string; template?: string; directives?: any[]; encapsulation?: ViewEncapsulation;...'.
  Object literal may only specify known properties, and 'pipes' does not exist in type '{ templateUrl?: string; template?: string; directives?: any[]; encapsulation?: ViewEncapsulation;...'. (2345)

WARNING in ./components/home/home.ts
(13,30): Cannot find module 'app/directives/directives'. (2307)

WARNING in ./components/home/home.ts
(24,36): Property 'EMULATED' does not exist on type 'typeof ViewEncapsulation'. (2339)

WARNING in ./components/rxjs_examples/autosuggest/autosuggest.ts
(12,31): Property 'onInit' does not exist on type 'typeof LifecycleEvent'. (2339)

WARNING in ./components/rxjs_examples/autosuggest/autosuggest.ts
(19,54): Cannot find name 'Github'. (2304)

WARNING in ./components/rxjs_examples/rxjs-examples.ts
(4,26): Module '"angular2/angular2"' has no exported member 'CSSClass'. (2305)

WARNING in ./components/rxjs_examples/rxjs-examples.ts
(9,25): Cannot find module './tictactoe/tictactoe'. (2307)

WARNING in ./components/rxjs_examples/timeflies/timeflies.ts
(21,31): Property 'onInit' does not exist on type 'typeof LifecycleEvent'. (2339)

WARNING in ./components/todo.ts
(27,7): Argument of type '{ directives: any[][]; STYLES: string[]; template: string; }' is not assignable to parameter of type '{ templateUrl?: string; template?: string; directives?: any[]; encapsulation?: ViewEncapsulation;...'.
  Object literal may only specify known properties, and 'STYLES' does not exist in type '{ templateUrl?: string; template?: string; directives?: any[]; encapsulation?: ViewEncapsulation;...'. (2345)

WARNING in ./directives/directives.ts
(7,9): Module '"angular2/router"' has no exported member 'routerDirectives'. (2305)

WARNING in ./pipes/RxPipe.ts
(3,9): Module '"angular2/pipes"' has no exported member 'AsyncPipe'. (2305)

WARNING in ./services/GithubService.ts
(3,35): Module '"angular2/angular2"' has no exported member 'Http'. (2305)

ERROR in ./src/app/components/home/home.ts
Module not found: Error: Cannot resolve module 'app/directives/directives' in /Users/choeller/sources/angular2/angular2-webpack-starter/src/app/components/home
 @ ./src/app/components/home/home.ts 14:19-55

ERROR in ./src/app/components/rxjs_examples/rxjs-examples.ts
Module not found: Error: Cannot resolve 'file' or 'directory' ./tictactoe/tictactoe in /Users/choeller/sources/angular2/angular2-webpack-starter/src/app/components/rxjs_examples
 @ ./src/app/components/rxjs_examples/rxjs-examples.ts 17:18-50
Is this a known bug and if so, are there plans to fix it? The examples are really good and I'd love to see them in action with the current alpha. Thanks in advance and best regards. Chris
PatrickJS [tipe.io]
@gdi2290
Sep 15 2015 14:13
@choeller hi, ya sorry it’s a known bug since I still need to update the examples. They’re meant for people to easily copy/paste
choeller
@choeller
Sep 15 2015 15:49
@gdi2290 Ok, I see - thank you! Do you already know if / when you will find the time to update? It's really hard to find examples working with the current alpha that do more than hello world :/
PatrickJS [tipe.io]
@gdi2290
Sep 15 2015 16:58
@choeller that’s a good point. I’ll update them right now
choeller
@choeller
Sep 15 2015 17:12
Cool, thanks a lot! Really appreciate your work!