Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

opencensus-instrumentation-grpc failed on typescript@2.9.0 #260

@mayurkale22

Description

@mayurkale22

All other packages are updated to typescript to ~2.9.0 #247

Build error:

src/grpc.ts:295:13 - error TS2345: Argument of type '(original: GrpcClientFunc) => (this: Client) => any' is not assignable to parameter of type '(original: never) => never'.
  Type '(this: Client) => any' is not assignable to type 'never'.

295             plugin.getPatchedClientMethods());
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



lerna ERR! npm run prepare [@opencensus/instrumentation-grpc] Output from stderr:

npm ERR! Linux 4.4.0-140-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "compile"
npm ERR! node v6.15.1
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! @opencensus/instrumentation-grpc@0.0.8 compile: `tsc -p .`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @opencensus/instrumentation-grpc@0.0.8 compile script 'tsc -p .'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the @opencensus/instrumentation-grpc package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     tsc -p .
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs @opencensus/instrumentation-grpc
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls @opencensus/instrumentation-grpc
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/node/project/packages/opencensus-instrumentation-grpc/npm-debug.log

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions