gax-nodejs
gax-nodejs copied to clipboard
TypeError: Channel credentials must be a ChannelCredentials object
Suddenly it stopped working
TypeError: Channel credentials must be a ChannelCredentials object
at new ChannelImplementation (/mnt/Work/upwork/Genie Words/geniewords-api/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/channel.js:75:19)
at new Client (/mnt/Work/upwork/Genie Words/geniewords-api/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/client.js:61:36)
at new ServiceClientImpl (/mnt/Work/upwork/Genie Words/geniewords-api/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/make-client.js:58:5)
at GrpcClient.createStub (/mnt/Work/upwork/Genie Words/geniewords-api/node_modules/google-gax/build/src/grpc.js:334:22)
at processTicksAndRejections (node:internal/process/task_queues:94:5)
I had to add resolutions as follow as a workaround
"resolutions": {
"google-gax": "2.27.0",
"@grpc/grpc-js": "1.3.7"
},
@summer-ji-eng , can you take a look? Thanks!
Thanks @MitulGedeeya file the issues. Can I have more context like what kind the channel or client options, and which api you are using.
@arithmetic1728 could you help me take a look is this relate to recent credential change? Thank you very much.
Hi @MitulGedeeya Have you managed to fix this issue?
Hi @sohel87 unfortunately not.