Skip to content

compileProtos fails open google/rpc/*/*.proto #341

@summer-ji-eng

Description

@summer-ji-eng

service-control introduced v2 protos: https://github.com/googleapis/googleapis/tree/master/google/api/servicecontrol/v2
service_control.proto import google/rpc/context/attribute_context.proto code

Nodejs-service-control fails on generated new PR due to npm run compile-protos fails on error:

(node:20193) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open 'protos/google/rpc/context/attribute_context.proto'

It's ok to import google/rpc/*.proto but not subdirectory.

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions