Unable to resolve "@react-native-community/async-storage" from "node_modules\@tensorflow\tfjs-react-native\dist\async_storage_io.js"
See original GitHub issueSystem information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
- Mobile device : Honor7x
- TensorFlow.js installed from (npm or script link): npm
- TensorFlow.js version: 2.7.0
Description:
Importing fetch from @tensorflow/tfjs-react-native resulting in above issue.
I am getting this issue when I import only. I did follow the exact steps as in docs.
Please see the screenshot below:
Package Dependencies :
"dependencies": {
"@react-native-async-storage/async-storage": "^1.13.2",
"@tensorflow-models/mobilenet": "^2.0.4",
"@tensorflow/tfjs": "^2.7.0",
"@tensorflow/tfjs-react-native": "^0.5.0",
"expo": "~39.0.2",
"expo-camera": "^9.0.0",
"expo-constants": "^9.2.0",
"expo-gl": "^9.1.1",
"expo-gl-cpp": "^9.1.2",
"expo-image-picker": "^9.1.1",
"expo-permissions": "^9.3.0",
"expo-status-bar": "~1.0.2",
"jpeg-js": "^0.4.2",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-39.0.4.tar.gz",
"react-native-fs": "^2.16.6",
"react-native-web": "~0.13.12"
},
Please help me how to resolve this issue.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Unable to resolve module @react-native-community/async ...
I am really new to react native, this may be a common issue but I can't seem to find anything that helps. javascript...
Read more >Error: Unable to resolve module `@react-native-community ...
js : @react-native-community/async-storage could not be found within the project. I installed react-native comet chat and try to call it in ...
Read more >react-native-community/async-storage - npm
An asynchronous, unencrypted, persistent, key-value storage system for React Native. Supported platforms. iOS; Android; Web · MacOS · Windows ...
Read more >unable to resolve module react native - You.com | The search ...
`unable to resolve module @react-native-community/async-storage` broke down my React Native ... This is how the project test App.js was for the test:.
Read more >@react-native-community/async-storage - npm package | Snyk
Learn more about @react-native-community/async-storage: package health score, popularity, security, maintenance, versions and more.
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
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tafsiri This issue has been open for over 6 months. Would love it if you can make this your priority. Can’t use BundleResourceIO and load models at all because this dependency hasn’t been updated yet
Is there any update regarding this? It is difficult to start a new project because of how far back in versioning for several libraries you have to go back to support this particular piece.