-
Notifications
You must be signed in to change notification settings - Fork 647
Closed
Labels
api: visionIssues related to the Cloud Vision API.Issues related to the Cloud Vision API.corepriority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.web
Description
Environment details
- OS: mac siera 10.12.6
- Node.js version: v8.2.1
- react-native version: Expo v21
- google-cloud-node version: "@google-cloud/vision": "^0.12.0",
Steps to reproduce
- start a new expo project
- yarn add @google-cloud/vision
- import Vision from "@google-cloud/vision"
- start your expo app
- red screen of death with "Unable to resolve module 'fs'
Is there anyway for this package to check if it's a react-native environment and disable any node-specific code? For now, I'm moving over to regular old HTTP with axios.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: visionIssues related to the Cloud Vision API.Issues related to the Cloud Vision API.corepriority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.web