Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: no such type: X #72

Open
jmaitrehenry opened this issue Sep 4, 2019 · 0 comments
Open

Error: no such type: X #72

jmaitrehenry opened this issue Sep 4, 2019 · 0 comments

Comments

@jmaitrehenry
Copy link

With the merge of #61, I can't run the cli anymore:

Error: no such type: PingRequest
    at Service.lookupType (/Users/jmaitrehenry/work/grpcc/node_modules/@grpc/proto-loader/node_modules/protobufjs/src/namespace.js:383:15)
    at Method.resolve (/Users/jmaitrehenry/work/grpcc/node_modules/@grpc/proto-loader/node_modules/protobufjs/src/method.js:147:44)
    at Service.resolveAll (/Users/jmaitrehenry/work/grpcc/node_modules/@grpc/proto-loader/node_modules/protobufjs/src/service.js:111:20)
    at Namespace.resolveAll (/Users/jmaitrehenry/work/grpcc/node_modules/@grpc/proto-loader/node_modules/protobufjs/src/namespace.js:307:25)
    at Root.resolveAll (/Users/jmaitrehenry/work/grpcc/node_modules/@grpc/proto-loader/node_modules/protobufjs/src/namespace.js:307:25)
    at Root.resolveAll (/Users/jmaitrehenry/work/grpcc/node_modules/@grpc/proto-loader/node_modules/protobufjs/src/root.js:246:43)
    at Object.loadSync (/Users/jmaitrehenry/work/grpcc/node_modules/@grpc/proto-loader/build/src/index.js:151:16)
    at createClient (/Users/jmaitrehenry/work/grpcc/lib/index.js:63:34)
    at Object.<anonymous> (/Users/jmaitrehenry/work/grpcc/bin/grpcc.js:35:3)
    at Module._compile (module.js:653:30)

The proto file:

syntax = "proto3";

package proto;

message PingRequest {}

message PingResponse {
  string response = 1;
}

If I checkout on commit 06465706f3ed7c7261b764514d9c28b618c237ad the project works correctly.

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

No branches or pull requests

1 participant