sohobloo / react-native-modal-dropdown

A react-native dropdown/picker/selector component for both Android & iOS.
MIT License
1.19k stars 478 forks source link

a error in the react native 0.63 #254

Open cx5168 opened 4 years ago

cx5168 commented 4 years ago

react-native: 0.63.0 react-native-modal-dropdown: 0.7.0

I have appended the following code in package.json: "resolutions": { "deprecated-react-native-listview": "0.0.6" } but it is not work.

Error: Unable to resolve module react-native/Libraries/vendor/core/isEmpty from node_modules\react-native-modal-dropdown\node_modules\deprecated-react-native-listview\index.js: react-native/Libraries/vendor/core/isEmpty could not be found within the project.

Atom1er commented 4 years ago

Having the exact same issue here!

LaDMasC commented 4 years ago

I have same issue too!

Merlier commented 4 years ago

I have same issue too with react-native 0.62.2

arnoldas500 commented 4 years ago

any fix for this yet?

gaowei1012 commented 4 years ago

使用下面这种安装,此问题得以解决 "react-native-modal-dropdown": "git+https://github.com/siemiatj/react-native-modal-dropdown.git",

react-native: '0.63.2'

syedibrahimt commented 4 years ago

Any update regarding this issue.

dalia89 commented 4 years ago

same issue here

rivindu1289 commented 4 years ago

same issue

saarahasad commented 4 years ago

Same issue

werdna521 commented 4 years ago

使用下面这种安装,此问题得以解决 "react-native-modal-dropdown": "git+https://github.com/siemiatj/react-native-modal-dropdown.git",

react-native: '0.63.2'

This solves the problem for me. In package.json, just change the version number of react-native-modal-dropdown to git+https://github.com/siemiatj/react-native-modal-dropdown.git. Then run yarn or npm i and it's working, at least for me.

This is repo is apparently not maintained, so using the forked and maintained version should work.

reddyanjali commented 3 years ago

使用下面这种安装,此问题得以解决 "react-native-modal-dropdown": "git+https://github.com/siemiatj/react-native-modal-dropdown.git", react-native: '0.63.2'

This solves the problem for me. In package.json, just change the version number of react-native-modal-dropdown to git+https://github.com/siemiatj/react-native-modal-dropdown.git. Then run yarn or npm i and it's working, at least for me.

This is repo is apparently not maintained, so using the forked and maintained version should work.

Thank you so much! This worked!