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.

Unable to resolve module ./Libraries/Components/Picker/Picker

See original GitHub issue

Description

I upgraded React Native from 0.64 to 0.66 and after launching the app it gives me the following error

Unable to resolve module ./Libraries/Components/Picker/Picker

attached screenshot

Version

0.66.1

Output of react-native info

info Fetching system and libraries information… (node:69495) Warning: Accessing non-existent property ‘padLevels’ of module exports inside circular dependency (Use node --trace-warnings ... to show where the warning was created) System: OS: macOS 12.0.1 CPU: (8) x64 Intel® Core™ i5-8257U CPU @ 1.40GHz Memory: 131.07 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 14.17.1 - /usr/local/bin/node Yarn: Not Found npm: 6.14.13 - /usr/local/bin/npm Watchman: 2021.09.13.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.10.1 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.0.1, iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0 Android SDK: API Levels: 23, 28, 29, 30 Build Tools: 28.0.3, 29.0.2, 30.0.2, 30.0.3 System Images: android-28 | Intel x86 Atom_64, android-29 | Intel x86 Atom_64, android-30 | Google APIs Intel x86 Atom Android NDK: Not Found IDEs: Android Studio: 4.2 AI-202.7660.26.42.7351085 Xcode: 13.1/13A1030d - /usr/bin/xcodebuild Languages: Java: 1.8.0_292 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 16.13.1 => 16.13.1 react-native: ^0.66.0 => 0.66.1 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Steps to reproduce

upgrade to 0.66

Snack, code example, screenshot, or link to a repository

Simulator Screen Shot - iPhone 13 - 2021-10-27 at 15 41 35

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:9

github_iconTop GitHub Comments

3reactions
shashinbhayanicommented, Mar 14, 2022

try npx react-native start --reset-cache

0reactions
Marinaarimanycommented, Mar 10, 2022

I downgraded to 0.64

Ah damn 😕 Thank you for your solution

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to resolve module react-native/Libraries/Components ...
As I find out expo 32.0.5 and react-native 0.58.3 are not compatible. So expo react-native fork should be used. To install it you...
Read more >
Unable to resolve module `react-native/Libraries/Components ...
I've followed the instructions here to update ExpoKit but the app is throwing this error on startup: com.facebook.react.common.
Read more >
unable to resolve module react-native-elements - You.com
This error means that either you haven't installed the react-navigation module or that you have installed the module but didn't re-built your project...
Read more >
Unable to resolve module `@react-native-community/picker`
error: Error: Unable to resolve module `@react-native-community/picker` from `node_modules/react-native-ui-lib/src/optionalDependencies/PickerPackage.js`: ...
Read more >
react-native-picker-module - npm
React Native Picker Module for Android & IOS. Latest version: 2.0.6, last published: 17 days ago. Start using react-native-picker-module in ...
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