Code Monkey home page Code Monkey logo

Comments (28)

agindre avatar agindre commented on August 25, 2024 3

I found a workaround by modifying my package.json dependency from "react-native": "^0.22.2", to "react-native": "^0.24",. After I did rm -rf node_module && npm install, I got the ReactNativePropRegistry.js in my node_module/react-native/Librairies/ReactNative and it works.

from nativebase.

wmahad avatar wmahad commented on August 25, 2024 2

Which version of React and React-Native does the latest version of Native-Base support? I have the latest version of RN and R, and I'm facing the same problem.

from nativebase.

Alappin avatar Alappin commented on August 25, 2024 1

Issue is occuring again, looks like facebook removed the 'ReactNativePropsRegistry' file from version 15.4.1. It is never a good idea to depend directly on internal libraries used by a framework or calling internal APIs because they can easily change without backwards compatibility.

from nativebase.

agindre avatar agindre commented on August 25, 2024

I've got the same issue 👍
Looking for a solution or a hint to solve this :)

from nativebase.

sankhadeeproy007 avatar sankhadeeproy007 commented on August 25, 2024

It has been fixed and is available in development branch. Not publishing now as we're planning on adding a few more features for the next release. Pull from the development branch if you need it urgently.

from nativebase.

icukaegbu avatar icukaegbu commented on August 25, 2024

Looked through the code at development branch
screen shot 2016-05-23 at 7 40 43 am
The problem is that ReactNativePropRegistry from "react-native/Libraries/ReactNative/ReactNativePropRegistry" does not exist in RN 0.26 and above.
How can we resolve

from nativebase.

sankhadeeproy007 avatar sankhadeeproy007 commented on August 25, 2024

#26

from nativebase.

sankhadeeproy007 avatar sankhadeeproy007 commented on August 25, 2024

RN 0.26 supported with latest update.

from nativebase.

maheshiv avatar maheshiv commented on August 25, 2024

I am using react-native v0.29 and still facing this issue. What will be the work around for this issue?
Error description,
Unable to resolve module react/lib/ReactNativePropRegistry

from nativebase.

sankhadeeproy007 avatar sankhadeeproy007 commented on August 25, 2024

Which version of react are you using?

from nativebase.

maheshiv avatar maheshiv commented on August 25, 2024

@sankhadeeproy007, I am using React V15.2.0

from nativebase.

sankhadeeproy007 avatar sankhadeeproy007 commented on August 25, 2024

Can you check the react directory inside node_modules and see if the path exists?

from nativebase.

maheshiv avatar maheshiv commented on August 25, 2024

@sankhadeeproy007, fixed this issue by clearing the cache and re-installed node-modules

from nativebase.

mateusreis avatar mateusreis commented on August 25, 2024

same here

from nativebase.

jaison-x avatar jaison-x commented on August 25, 2024

+1

from nativebase.

matthieugayon avatar matthieugayon commented on August 25, 2024

same here

from nativebase.

ujwal-setlur avatar ujwal-setlur commented on August 25, 2024

I have the same issue. I have

	"native-base": "^0.5.15",
	"react": "~15.4.0-rc.4",
	"react-native": "0.38.0",

I can't even run through the native-base tutorial.

from nativebase.

rjblopes avatar rjblopes commented on August 25, 2024

I have found the same issue. I noticed though that 'ReactNativePropsRegistry' file is still there but in a different path now. Inside 'react-native/libraries' folder, if I recall correctly. Still, no idea how to update all files in native-base that refer to this lib.

EDIT: Solution in Issue #318 has fixed this for me.

from nativebase.

jaison-x avatar jaison-x commented on August 25, 2024

I can with follow:

"native-base": "^0.5.15", "react": "^15.3.2", "react-dom": "^15.3.2", "react-native": "^0.37.0"

from nativebase.

jeremypeters avatar jeremypeters commented on August 25, 2024

Same issue

Edit: updating to 0.5.15 has fixed this for me.

Edit2: actually it hasn't.

from nativebase.

SupriyaKalghatgi avatar SupriyaKalghatgi commented on August 25, 2024

Fixed with latest release 0.5.18

from nativebase.

minamakhtar avatar minamakhtar commented on August 25, 2024

"native-base": "0.5.13", "react": "15.3.2", "react-native": "0.32.0",

firstly i upgrade these dependency, then i got the error of RCTWebsocket (Android) and unknown module ......Nativebase/button.js. so i just revert back all the version changes to normal. but now im having this 'Unable to find ReactNativePropRegistry '. Someone please!

from nativebase.

Alappin avatar Alappin commented on August 25, 2024

@thundenilla make sure the versions match up, "native-base: 0.5.15" and below will work with "react: 15.3.2" and below and "react-native: 0.35.0" and below. The possible causes to your issue could be that you are pulling in new version of react or RN whilst having an older version of native-base. Just to be sure, you could nuke everything in the npm cache and clear your node_modules then do a clean npm install. e.g.

npm cache clean npm install

Could also help if your dependencies are exact e.g. "react": "15.3.2" instead of "react": "^15.3.2"

from nativebase.

minamakhtar avatar minamakhtar commented on August 25, 2024

@Alappin so i just update the versions based on your recommendation. but somehow, its still there.
instead of this error 'Unable to find ReactNativePropRegistry'
now im getting this 'Unable to resolve module react-native..........utils/computeProps.js

from nativebase.

SupriyaKalghatgi avatar SupriyaKalghatgi commented on August 25, 2024

#336

from nativebase.

cinder92 avatar cinder92 commented on August 25, 2024

same issue here with RN 0.45.1

from nativebase.

davincho avatar davincho commented on August 25, 2024

@cinder92 Had the same issue (with 2.2.0) and solved it by upgrading to version 2.3.1 (https://github.com/GeekyAnts/NativeBase/releases/tag/v2.3.1)

from nativebase.

xunxdd avatar xunxdd commented on August 25, 2024

not working. "react-native": "^0.47.0", "native-base": "2.3.1".

update: i completely recreated the app and reinstalled. then it worked

from nativebase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.