Getting deprecation warning with grpc
See original GitHub issueGetting an error when running on cloud functions. The error is: “(node:2) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead”
Environment details
- OS:
- Node.js version: google cloud functions (I guess it’s node 6).
- npm version: using 6.1.0 locally. Not sure if cloud functions reinstall the packages when I deploy.
@google-cloud/vision
version: 0.20
Steps to reproduce
Using the package in cloud functions.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:9
- Comments:16 (7 by maintainers)
Top Results From Across the Web
Using gprc with gradle 6.8.x gives deprecation warning for ...
I understand that gradle 8 is quite a way to go, but our mantra is that the build should be warning free. Which...
Read more >DeprecationWarning: grpc.load: Use the @grpc/proto-loader ...
This means that a package that you depend on is calling the deprecated function grpc.load . You can determine which package is doing...
Read more >Surviving Deprecations to Resources and Properties on Other ...
Deprecation, is the art of telling people to stop using that thing, because that thing is probably going away at some point.
Read more >Changelog — grpclib documentation
Fixed deprecation warning related to asyncio.wait() and Python 3.9 ... Using application/grpc content type on the client-side to be compatible with faulty ...
Read more >Issue 329 in protobuf: Add support for [deprecated = true] on ...
a visible warning when some other java code is referencing the deprecated ... this group and stop receiving emails from it, send an...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi there, any ETA for a new build with this issue fixed?
@ggprod unfortunately the change that was merged to master does not work with long running operations (I have reopened that issue to make it clear). I’m going to revert half of the changes that will still avoid using the deprecated
grpc.load
. ETA for the release is 1-2 days from now. Thanks!