omgrpc
omgrpc copied to clipboard
error with imports while trying to open a proto file
Error: failed to import '//google/protobuf/timestamp.proto' in

I get the same error - can you bundle the standard google protobuf extensions, or give us a way to set up a global library/include directory?
Yeah that would be good. I'll have to check Node's grpc implementation again and see if there is a way to do this (unless you guys know of one?)
When you generate Go code from a proto that imports from disparate paths it all works fine, but for whatever reason when you try and use the same proto with the node implementation it blows up unless all of the imports and the file itself share some common root directory. It's very annoying. The gRPC package is actively worked on though so maybe it's an issue they've addressed and that I can fix here. I'll check it out.
Here is another import that fails Error: failed to import '/google/api/annotations.proto'