undefined is not an object (evaluating 'environment_1.env().platform.fetch')
See original GitHub issueTensorFlow.js version
“@tensorflow-models/handpose”: “0.0.3” “@tensorflow/tfjs”: “^1.7.4”
Browser version
React Native 37.0.1 Expo 37.0.3
Describe the problem or feature request
I tried to use Handpose model on React Native but it gives an error:
undefined is not an object (evaluating 'environment_1.env().platform.fetch')
Issue Analytics
- State:
- Created 3 years ago
- Comments:22 (5 by maintainers)
Top Results From Across the Web
undefined is not an object (evaluating 'env().platform.fetch') for ...
I always get this response when I tried to load() the posenet from @tensorflow-models/posenet . I am using React Native CLI not Expo....
Read more >In react native, on executing posenet.load() getting error ...
TypeError: undefined is not an object (evaluating 'env().platform.fetch'), on calling the posenet.load(). It used to work fine until last week.
Read more >React Native: undefined is not an object (evaluating '_this ...
Hi everybody, I have a react-native app created with RN CLI, using react-native 0.63, I'm trying to use SectionList but I'm getting the ......
Read more >undefined is not an object (evaluating 'device.id') in ... - YouTube
ERROR TypeError: undefined is not an object ( evaluating 'device.id')Please do like share and comment if you like the video please do hit ......
Read more >The R Environment for Statistical Computing and Graphics
R is free software and comes with ABSOLUTELY NO WARRANTY. ... identical(globalenv(), as.environment(1)) ## is TRUE ... get, exists, environment. Examples.
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 FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
Top Related Hashnode Post
No results found
Top GitHub Comments
@subodha I think this may be related to something in your expo setup (potentially related to typescript support), similarish issues are described here https://forums.expo.io/t/sdk-33-error-unable-to-resolve-module-node-modules-expo-appentry/24470.
I made fresh managed expo app (https://github.com/tafsiri/tfjs-expo-managed-example) and could not reproduce.
i cloned your repo and it works as a charm, and i’m going to continue develop this to get face recognition / face match and store the data to database, do you think its possible ?