Closed josueetcom closed 4 years ago
Currently make build-webui is failing due to not finding the user service client. Cloud Build gives this output:
make build-webui
Step #2 - "Build": ERROR in src/app/users/users.component.ts:19:35 - error TS2307: Cannot find module 'user-svc-client'. Step #2 - "Build": Step #2 - "Build": 19 import { UserService, User } from 'user-svc-client'; Step #2 - "Build": ~~~~~~~~~~~~~~~~~ Step #2 - "Build": src/app/users/users.component.ts:43:7 - error TS7006: Parameter 'data' implicitly has an 'any' type. Step #2 - "Build": Step #2 - "Build": 43 data => { Step #2 - "Build": ~~~~ Step #2 - "Build": src/app/users/users.component.ts:48:8 - error TS7006: Parameter 'e' implicitly has an 'any' type. Step #2 - "Build": Step #2 - "Build": 48 (e) => { Step #2 - "Build": ~ Step #2 - "Build": src/app/login.guard.ts:25:29 - error TS2307: Cannot find module 'user-svc-client'. Step #2 - "Build": Step #2 - "Build": 25 import { UserService } from 'user-svc-client'; Step #2 - "Build": ~~~~~~~~~~~~~~~~~ Step #2 - "Build": src/app/app.module.ts:26:73 - error TS2307: Cannot find module 'user-svc-client'. Step #2 - "Build": Step #2 - "Build": 26 import { BASE_PATH as USER_BASE_PATH, ApiModule as UserApiModule } from 'user-svc-client';
This seems to be due to a missing client generation step in webui/cloudbuild.yaml for the new User Service.
webui/cloudbuild.yaml
Currently
make build-webui
is failing due to not finding the user service client. Cloud Build gives this output:This seems to be due to a missing client generation step in
webui/cloudbuild.yaml
for the new User Service.