Skip to content
This repository has been archived by the owner on Nov 6, 2018. It is now read-only.

TypeScript compile error when running gulp #266

Open
fabifrank opened this issue Oct 13, 2017 · 1 comment
Open

TypeScript compile error when running gulp #266

fabifrank opened this issue Oct 13, 2017 · 1 comment

Comments

@fabifrank
Copy link

[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
Copy link

@fabifrank did you fix it?

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

No branches or pull requests

2 participants