Comments (28)
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.
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.
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.
I've got the same issue 👍
Looking for a solution or a hint to solve this :)
from nativebase.
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.
Looked through the code at development branch
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.
from nativebase.
RN 0.26 supported with latest update.
from nativebase.
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.
Which version of react are you using?
from nativebase.
@sankhadeeproy007, I am using React V15.2.0
from nativebase.
Can you check the react directory inside node_modules and see if the path exists?
from nativebase.
@sankhadeeproy007, fixed this issue by clearing the cache and re-installed node-modules
from nativebase.
same here
from nativebase.
+1
from nativebase.
same here
from nativebase.
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.
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.
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.
Same issue
Edit: updating to 0.5.15 has fixed this for me.
Edit2: actually it hasn't.
from nativebase.
Fixed with latest release 0.5.18
from nativebase.
"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.
@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 installCould also help if your dependencies are exact e.g. "react": "15.3.2" instead of "react": "^15.3.2"
from nativebase.
@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.
from nativebase.
same issue here with RN 0.45.1
from nativebase.
@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.
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)
- SSRProvider it`s not necessary in React18 HOT 1
- <Item> tag not working
- How to get theme in React Class Components ?
- Why does toast.isActive() only take effect when placement is set to bottom
- Error in React 18
- Select with InputLeftElement
- In React 18, SSRProvider is not necessary and is a noop. HOT 1
- Base style extendTheme for Button component does not work
- onPress triggers twice, when activated via Enter key
- Disabled Button is not WCAG accessible and there is no way to set alternative color with themes other than using opacity.
- when use the useToast, state value is initialized
- Codesandbox demo broken
- Demo doesn't work in Expo snack
- Menu placement is wrong
- native-base contains invalid configuration: "dependency.assets" is not allowed HOT 1
- `multiline` and `value` on the same TextArea causes input letters to be continuously added and deleted HOT 2
- Text capitalize ios issue
- Cause flicker with Next 14 HOT 1
- Radio.Group should allow un-selecting a radio button by changing `value` prop
- Input control should show red border if user type wrong string in React Native Windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativebase.