[🐛] Unable to resolve path to module 'react-native-image-picker'
See original GitHub issueDescription
I upgraded to v3.0.1 and now I’m getting “Unable to resolve path to module ‘react-native-image-picker’.”
How to repeat issue and example
- step to reproduce the issue Import the module
import { launchImageLibrary } from 'react-native-image-picker';
The package name is underlined with red.
Additional Information
- Image Picker version: [3.0.1]
- React Native version: [0.63.4]
- Platform: [Android]
- Development Operating System: [Windows]
- Dev tools: [Android Studio version, iOS or Android SDK version, if applicable] navigation crash for Android
When I add “main”: “src/index.ts” in react-native-image-picker/package.json the error goes away
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:10
Top Results From Across the Web
Unable to resolve path to module 'react'. (import/no-unresolved)
In my case, this error appear because I pull new update from the remote repository and it's bring new dependencies. To solve this,...
Read more >Issues - GitHub
Error : Unable to resolve module ./internal/nativeInterface from node_modules\react-native-image-picker\src\index.ts: None of these files exist: ...
Read more >react-native-image-picker - npm
A React Native module that allows you to use native UI to select media from the device library or directly from the camera....
Read more >An In-Depth Guide to Using React Native Image Picker
Install and configure react-native-image-picker. Start by running the below command from a terminal window to install the image picker module.
Read more >unable to resolve module @react-native-firebase/messaging
I'm a bit lost here, I receive the following error while trying to build an android project (same happens when trying to build...
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 Free
Top 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
Great. It’s fine now. Thanks man.
Check out 3.1.0