-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
googleapis/synthtool
#1243Labels
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to 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
I'm following instructions to generate a new library. The library is:
https://github.com/googleapis/nodejs-access-context-manager
When I run npm i in the root directory, I see this failure:
nodejs-access-context-manager$ npm i
> @google-cloud/access-context-manager@0.1.0 prepare /usr/local/google/home/rennie/gitrepos/generated-owlbot-repos/nodejs-access-context-manager
> npm run compile-protos && npm run compile
> @google-cloud/access-context-manager@0.1.0 compile-protos /usr/local/google/home/rennie/gitrepos/generated-owlbot-repos/nodejs-access-context-manager
> compileProtos src
> @google-cloud/access-context-manager@0.1.0 compile /usr/local/google/home/rennie/gitrepos/generated-owlbot-repos/nodejs-access-context-manager
> tsc -p . && cp -r protos build/
src/v1/access_context_manager_client.ts:449:21 - error TS2339: Property 'warn' does not exist on type 'typeof import("/usr/local/google/home/rennie/gitrepos/generated-owlbot-repos/nodejs-access-context-manager/node_modules/google-gax/build/src/index")'.
449 this.warn = gax.warn;
~~~~
src/v1/access_context_manager_client.ts:480:7 - error TS2554: Expected 2 arguments, but got 3.
480 this._providedCustomServicePath
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/v1/access_context_manager_client.ts:4422:31 - error TS2339: Property 'close' does not exist on type 'OperationsClient'.
4422 this.operationsClient.close();
~~~~~
Found 3 errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/access-context-manager@0.1.0 compile: `tsc -p . && cp -r protos build/`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/access-context-manager@0.1.0 compile script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /usr/local/google/home/rennie/.npm/_logs/2021-10-08T19_34_55_017Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/access-context-manager@0.1.0 prepare: `npm run compile-protos && npm run compile`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/access-context-manager@0.1.0 prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /usr/local/google/home/rennie/.npm/_logs/2021-10-08T19_34_55_130Z-debug.log
cc @sofisl
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to 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.