Skip to content

Not starting GRPC server #34

@hsenapati

Description

@hsenapati

Description/Steps to reproduce

  1. Scaffolded a LB 4 app as "loopback4-example-express-composition"
  2. $ npm install --save @loopback/grpc
  3. Modified Index.ts file with the code explained in the section "Component Configuration" of https://www.npmjs.com/package/@loopback/grpc
  4. Followed the rest of the steps as mentioned in npm module "@loopback/grpc"

Link to reproduction sandbox

Expected result

  1. Suppose to generate "greeter.proto.ts", but it never generate the .tc file for the proto file.
  2. Copied the greeter.proto.ts file from "loopback4-extension-grpc/fixtures/greeter.proto.ts" to my above application.
  3. When I run "$npm start", it does not throw any error but the command prompt returns and server is not listening to any specific port.

Additional information

  1. How can I make the client application to call this server?
  2. How can I extend this to make grpc stream calls between client and server on loopback 4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions