-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.62.1. error: Error: Unable to resolve module react-native/Libraries/vendor/core/isEmpty
from node_modules/deprecated-react-native-listview/index.js
: react-native/Libraries/vendor/core/isEmpty could not be found within the project.
#28546
Comments
Do you have any code to reproduce this? |
I think this issue come from dependencies. |
i took out |
Since this is an issue about upgrading to a newer version of React Native, I recommend making use of the new upgrade support forum: https://github.com/react-native-community/upgrade-support |
yeah, it is the react-native-modal-dropdown problem. Remove it and solve it |
Yeah the removal of react-native-modal-dropdown worked 👍🏻 thanks for the help. |
Exactly where the errors come from. Btw, is there any way to use react-native-modal-dropdown ? |
you can copy its source code, just one js file, then replace ListView with FlatList. That is all my work. |
it worked |
for those that might be interested I just patched this package with isEmpty and merge from react native core which has now been deleted add the file to
|
Thx @export-mike! Your patch works like a charm. |
You can fix it in package.json. { |
Dude... I was facing this problem right now, and your answer works perfectly! 7 minutes earlier and I will have never see your answer ^^' |
this worked for me! |
Upgraded project to 0.62.1.
Deleted node_modules, watchman, metro cache etc.
Build completes but application fails to start with the error:
Description
Please provide a clear and concise description of what the bug is. Include screenshots if needed.
Please test using the latest React Native release to make sure your issue has not already been fixed: https://reactnative.dev/docs/upgrading.html
React Native version:
System:
OS: macOS 10.15.4
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 2.35 GB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.16.1 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.13.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK: Not Found
IDEs:
Android Studio: 3.6 AI-192.7142.36.36.6308749
Xcode: 11.4/11E146 - /usr/bin/xcodebuild
Languages:
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.8.6 => 16.8.6
react-native: ^0.62.1 => 0.62.1
npmGlobalPackages:
react-native: Not Found
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
The text was updated successfully, but these errors were encountered: