question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting deprecation warning with grpc

See original GitHub issue

Getting 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:closed
  • Created 5 years ago
  • Reactions:9
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

9reactions
fvilerscommented, Jul 30, 2018

Hi there, any ETA for a new build with this issue fixed?

5reactions
alexander-fenstercommented, Sep 11, 2018

@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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found