You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have integrated the @ngx-grpc in my angular application but after compilation it is throwing the below error.
./src/app/services/grpc.service.ts:6:26-41 - Error: export 'MyServiceClient' (imported as 'MyServiceClient') was not found in '../../../src/app/protos/my-service_grpc_pb' (possible exports: mypackage.MyService)
Error: src/app/services/grpc.service.ts:14:65 - error TS2345: Argument of type 'null' is not assignable to parameter of type 'ChannelCredentials'.
14 this.client = new MyServiceClient('hhtp://localhost:50051', null, null);
./src/app/services/grpc.service.ts:6:26-41 - Error: export 'MyServiceClient' (imported as 'MyServiceClient') was not found in '../../../src/app/protos/my-service_grpc_pb' (possible exports: mypackage.MyService)
This has been resolved when import like import { MyServiceClient } from './../protos/my-service_grpc_pb.d';
but second issue is not resolved as of now.
I have integrated the @ngx-grpc in my angular application but after compilation it is throwing the below error.
Below is the my repository.
https://github.com/vamsideepak/grpcClientAngular
The text was updated successfully, but these errors were encountered: