Closed noahvstephenson closed 1 year ago
And what is the error? Please post the full stack trace.
@noahvstephenson Can you please provide a full stack trace, so we can assist you?
Still waiting for the full stack trace. Thank you team!
This is a Node.js library, we don't officially support other environments. It's expected that it won't work if Node.js modules are not available.
Having that said, the module might work in non-Node environments such as browser, but you might need to tweaks configs for webpack
or whatever other bundler you use, if any, to ignore Node-specific things like stream
. Note that you might need to pass {fallback: 'rest'}
to the client constructor, and you might need to change the way how you authenticate. If you need help setting this up, please open a separate issue; we don't support this use case but can try to help make it work on a best effort basis.
When adding
@google-cloud/speech
to a fresh React Native project with Expo, I am unable to implement it.Environment details
@google-cloud/speech
version: 4.10.2Steps to reproduce:
expo init
@google-cloud/speech
usingnpm install @google-cloud/speech
const speech = require('@google-cloud/speech');