Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on front #2

Open
andrew2k opened this issue Jul 20, 2016 · 0 comments
Open

error on front #2

andrew2k opened this issue Jul 20, 2016 · 0 comments

Comments

@andrew2k
Copy link

Nice project.

However I do have some issues launching "gulp play", in the front.

For example:
C:/Users/xxx/Downloads/angular2-spring-master/front/node_modules/@angular/common/src/directives/ng_class.d.ts(72,35): error TS2304: Cannot find name 'Set'.
C:/Users/xxx/Downloads/angular2-spring-master/front/node_modules/@angular/common/src/facade/async.d.ts(27,33): error TS2304: Cannot find name 'Promise'.

... and...

src\app\components\table\table.ts(134,61): error TS2339: Property 'find' does not exist on type 'PaginationPropertySort[]'.
src\app\index.ts(1,1): error TS6053: File 'C:/Users/a.franceschini/Downloads/angular2-spring-master/front/typings/tsd.d.ts' not found.
src\app\person.ts(21,12): error TS2304: Cannot find name 'Person'.
src\app\personList.ts(18,31): error TS2304: Cannot find name 'Person'.
src\app\personList.ts(32,109): error TS2304: Cannot find name 'Person'.
src\app\personList.ts(33,13): error TS2322: Type 'Observable<any[]>' is not assignable to type 'Observable<PaginationPage>'.
Type 'any[]' is not assignable to type 'PaginationPage'.
src\app\personList.ts(33,53): error TS2304: Cannot find name 'Person'.
src\app\personList.ts(43,13): error TS2322: Type 'Observable' is not assignable to type 'Observable<PaginationPage>'.
Type 'void' is not assignable to type 'PaginationPage'.
src\app\personList.ts(45,20): error TS2339: Property 'switchMap' does not exist on type 'Observable<PaginationPage>'.
src\app\service\personService.ts(7,96): error TS2304: Cannot find name 'Person'.
src\app\service\personService.ts(12,16): error TS2322: Type 'Observable<PaginationPage>' is not assignable to type 'Observable<any[]>'.
Type 'PaginationPage' is not assignable to type 'any[]'.
Property 'length' is missing in type 'PaginationPage'.
src\app\service\personService.ts(12,46): error TS2304: Cannot find name 'Person'.
src\app\service\personService.ts(12,70): error TS2339: Property 'fromPromise' does not exist on type 'typeof Observable'.
src\app\service\personService.ts(13,13): error TS2304: Cannot find name '$'.
src\app\service\personService.ts(17,40): error TS2304: Cannot find name 'Person'.
src\app\service\personService.ts(18,31): error TS2304: Cannot find name 'Person'.
src\app\service\personService.ts(18,54): error TS2339: Property 'fromPromise' does not exist on type 'typeof Observable'.
src\app\service\personService.ts(19,13): error TS2304: Cannot find name '$'.
src\app\service\personService.ts(24,17): error TS2314: Generic type 'Observable' requires 1 type argument(s).
src\app\service\personService.ts(24,46): error TS2339: Property 'fromPromise' does not exist on type 'typeof Observable'.
src\app\service\personService.ts(25,13): error TS2304: Cannot find name '$'.

Have you any clue on that ?
Thx a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant