Skip to content
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

React Native 0.62 support #245

Open
kesha-antonov opened this issue Mar 29, 2020 · 19 comments
Open

React Native 0.62 support #245

kesha-antonov opened this issue Mar 29, 2020 · 19 comments

Comments

@kesha-antonov
Copy link

Hi!

When building with RN 0.62 it gives error:

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.
@irekrog
Copy link

irekrog commented Mar 30, 2020

@kesha-antonov
#244 I have created PR with fix but I'm not sure if will be merged because looks like this project is not maintained anymore

@kesha-antonov
Copy link
Author

Awesome! Let's mention repo owner @irekrog

@vipycm
Copy link

vipycm commented Apr 7, 2020

you can temporarily fix this error by add this config to package.json
"resolutions": { "deprecated-react-native-listview": "0.0.6" }

@omar-dulaimi
Copy link

omar-dulaimi commented Apr 11, 2020

you can temporarily fix this error by add this config to package.json
"resolutions": { "deprecated-react-native-listview": "0.0.6" }

What to do after that? npm install?
cuz it didn't work!

EDIT:
turns out I had version 0.0.5 installed and thats why it didn't work. After installing v0.0.6 it worked!

Thank you!

@zepvi
Copy link

zepvi commented Apr 12, 2020

@omar-dulaimi How did u installed v0.0.6 of "deprecated-react-native-listview"

@omar-dulaimi
Copy link

@zepvi In package.json it was already a dependency like this:
"deprecated-react-native-listview": "^0.0.5",
So I changed it to 6 then added this line to package.json:

"resolutions": {
    "deprecated-react-native-listview": "0.0.6"
  },

then
npm i

Hope it works for you!

@zanlucathiago
Copy link

Just want to point out that this solution doesn't work with react-native-modal-dropdown version 0.7.0. You can fix it to 0.6.2.

@palmer95
Copy link

@zanlucathiago and how exactly do you do that?

@zanlucathiago
Copy link

@palmer95 You can fix it in package.json.

{
"dependencies": {
"react-native-modal-dropdown": "0.6.2"
}
}

@Bilal-Abdeen
Copy link

Check out #251

@senthilkumar3282
Copy link

@palmer95 You can fix it in package.json.

{
"dependencies": {
"react-native-modal-dropdown": "0.6.2"
}
}

this one is working for me

@uyend
Copy link

uyend commented Oct 12, 2020

Just wanting to put a note that this doesn't work for RN 0.63+

@Balasnest
Copy link

It didn't work with 0.7.0 and 0.6.2 Any workaround for 0.63.+ ?

@JayeshPatil-Dev
Copy link

Any work around for 0.63+?

@tim92109
Copy link

Please remove this deprecated out of date package so people stop trying to use it!!!

@fqborges
Copy link

Use v0.6.2.
A good community member makes a PR instead of complaining. Just saying.

@tim92109
Copy link

Guessing that was aimed at me @fqborges I agree but somebody has to state the obvious too or number of packages that need updates to continue working are going to keep increasing

@fqborges
Copy link

@tim92109 Sorry if it sounded aggressive, it shouldn't.
And yes, you are right, someone has to state the obvious sometimes. But, try to no be so harsh on open source developers, they own you nothing.

@tim92109
Copy link

Advice taken, @fqborges & thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests