Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Google Cloud Vision built with Webpack #216

Closed
teq-thuynguyen opened this issue Oct 12, 2018 · 1 comment
Closed

Google Cloud Vision built with Webpack #216

teq-thuynguyen opened this issue Oct 12, 2018 · 1 comment
Assignees
Labels
api: vision Issues related to the googleapis/nodejs-vision API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. web

Comments

@teq-thuynguyen
Copy link

Dear everyone,

My project is using ReactJS, then I want to use Google-Cloud-Vision to check Identity Card.
But when I added @google-cloud/vision like below tutorial
https://cloud.google.com/vision/docs/libraries#client-libraries-usage-nodejs
I faced the problem is:

./node_modules/grpc/node_modules/node-pre-gyp/lib/util/versioning.js
17:20-67 Critical dependency: the request of a dependency is an expression

./node_modules/grpc/node_modules/node-pre-gyp/lib/pre-binding.js
20:22-48 Critical dependency: the request of a dependency is an expression

./node_modules/grpc/src/grpc_extension.js
32:12-33 Critical dependency: the request of a dependency is an expression

./node_modules/http2/lib/protocol/index.js
46:12-19 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

and I can see that @google-cloud/vision is require http2 , but this library has been DEPRECATED.

Please help me to resolve this problem.

Thanks & Best Regards

@JustinBeckwith JustinBeckwith added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Oct 12, 2018
@google-cloud-label-sync google-cloud-label-sync bot added the api: vision Issues related to the googleapis/nodejs-vision API. label Jan 30, 2020
@aribray aribray assigned dizcology and unassigned aribray Jul 6, 2022
@meredithslota
Copy link
Contributor

Hi there — thanks for this request! We are about to migrate this library code into the main google-cloud-node repo and there is already an existing feature request in that repo for general Webpack support, here: googleapis/google-cloud-node#2933 I'm going to close this issue out in favor of that one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api: vision Issues related to the googleapis/nodejs-vision API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. web
Projects
None yet
Development

No branches or pull requests

5 participants