fabric8io / fabric8-console

Angular 1.x console for fabric8
28 stars 27 forks source link

TypeScript compile error when running gulp #266

Open fabifrank opened 7 years ago

fabifrank commented 7 years ago
[11:19:12] Finished 'bower' after 1.53 s
[11:19:12] Finished 'less' after 1.62 s
[11:19:12] Finished 'path-adjust' after 1.67 s
/Users/*/Documents/dev/fabric8-console/libs/hawtio-kubernetes-api/d.ts/kubernetes-api/ts/kubernetesApiHelpers.d.ts(20,34): error TS2503: Cannot find namespace 'uri'.
[11:19:15] gulp-notify: [Typescript compilation error] /Users/*/Documents/dev/fabric8-console/libs/hawtio-kubernetes-api/d.ts/kubernetes-api/ts/kubernetesApiHelpers.d.ts(20,34): error TS2503: Cannot find namespace 'uri'.
plugins/wiki/ts/view.ts(457,38): error TS2345: Argument of type 'URI' is not assignable to parameter of type 'string'.
[11:19:15] gulp-notify: [Typescript compilation error] plugins/wiki/ts/view.ts(457,38): error TS2345: Argument of type 'URI' is not assignable to parameter of type 'string'.
plugins/wiki/ts/wikiHelpers.ts(511,10): error TS2339: Property 'segment' does not exist on type 'string'.
[11:19:15] gulp-notify: [Typescript compilation error] plugins/wiki/ts/wikiHelpers.ts(511,10): error TS2339: Property 'segment' does not exist on type 'string'.
[11:19:15] TypeScript: 3 semantic errors
[11:19:15] TypeScript: emit succeeded (with errors)
[11:19:15] Finished 'collect-dep-versions' after 4.38 s
[11:19:15] Finished 'tsc' after 4.55 s
[11:19:15] Starting 'template'...
[11:19:15] Starting 'example-tsc'...
/Users/*/Documents/dev/fabric8-console/libs/hawtio-kubernetes-api/d.ts/kubernetes-api/ts/kubernetesApiHelpers.d.ts(20,34): error TS2503: Cannot find namespace 'uri'.
[11:19:17] gulp-notify: [Typescript compilation error - test] <%= error.message =>
[11:19:17] TypeScript: 1 semantic error
[11:19:17] TypeScript: emit succeeded (with errors)
[11:19:17] Finished 'example-tsc' after 1.08 s
[11:19:17] Starting 'example-template'...
[11:19:17] Finished 'example-template' after 16 ms
xiaoxi1989 commented 6 years ago

@fabifrank did you fix it?