question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[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 issue

I 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:

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots Error while running in android Screenshot_1608269192 Error while genrating APK Screen Shot 2020-12-18 at 10 57 32 AM

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:open
  • Created 3 years ago
  • Reactions:7
  • Comments:10

github_iconTop GitHub Comments

4reactions
ipkiruiYegoncommented, Dec 18, 2020

_npm i react-native-web worked for me

1reaction
almerciercommented, Dec 18, 2020

Reverting to 8.0.3 fixes it as a workaround.

Read more comments on GitHub >

github_iconTop Results From Across the Web

0.62.1. error: Error: Unable to resolve module `react-native ...
error : Error: Unable to resolve module react-native/Libraries/vendor/core/isEmpty from node_modules/deprecated-react-native-listview/index.js : react-native/ ...
Read more >
React Native error 'Unable to resolve module `react-native` '
suggests that it looks like somehow there is some issue with picking up the path from node_modules . The first line in index.js...
Read more >
React Native, Typescript and VS Code: Unable to resolve ...
The problem with resolving modules turned out to be related to VS Code's typescript project helper.
Read more >
Troubleshooting | React Navigation
I'm getting an error "Unable to resolve module" after updating to the ... to resolve module "@react-navigation/native" from file "/path/to/src/App.js", ...
Read more >
Error: Unable to resolve module `react-native - bundling failed
js `: Module `react-native/Libraries/Components/View/ViewStylePropTypes` does not exist in the Haste module map INFO 21:13 This might be related ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found