[React-Native] Error: Unable to resolve module `react-native-web/dist/modules/UnimplementedView` from `node_modules/@react-native-picker/picker/js/PickerIOS.js`
See original GitHub issueI install the package from https://openbase.io/js/react-native-picker-select and install below packages
npm install react-native-picker-select npm install @react-native-picker/picker npx pod-install
picker worked well, I can able to run in iOS simulator. But I want to run in emulator and generate a release APK facing below ERROR.
Error: Unable to resolve module react-native-web/dist/modules/UnimplementedView
from node_modules/@react-native-picker/picker/js/PickerIOS.js
: react-native-web/dist/modules/UnimplementedView could not be found within the project.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Go to ‘…’
- Click on ‘…’
- Scroll down to ‘…’
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots Error while running in android Error while genrating APK
Additional details
- Device: emulator pixel device
- OS: Android R
- react-native-picker-select version: 8.0.4
- react-native version: 0.63
Reproduction and/or code sample n/a
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:10
Top GitHub Comments
_npm i react-native-web worked for me
Reverting to 8.0.3 fixes it as a workaround.