-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
googleapis/gapic-generator-typescript
#455Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-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.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
The generated proto list has unneeded common protos which is in gax, but not in the generator. So including those set of protos like google.api.annotations.proto will give the below error.
UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open 'protos/google/api/annotations.proto'
It’s because that the api depends on other apis which have different paths so that the commonprefix which is used to filter the protos is incorrect.
use case: nodejs-asset, nodejs-containeranalysis.
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-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.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.