Cannot find module 'react/lib/ReactNativePropRegistry' from ...
...
- computeProps.js
- Button.js
with react 15.4.1
var ReactNativePropRegistry = require('ReactNativePropRegistry'); seems to work
hjc. Me too. so I use react 15.3.2. Admin @nativebase please fix it. Thanks
I using native-base: 0.5.15
+1
+1
+1
+1
+1
+1
+1
Replacing with
import ReactNativePropRegistry from 'react-native/Libraries/Renderer/src/renderers/native/ReactNativePropRegistry';
worked, but ReactNativePropRegistry is an internal API, I believe, and not public. Can this call be replaced with a public API?
Can this be resolved quickly please?
Actually, the following work:
import { ReactNativePropRegistry } from 'react-native';
OR
var ReactNativePropRegistry = require{'react-native'};
So, it seems that ReactNativePropRegistry is indeed publicly exposed now, but it should not be referenced with an absolute path.
This needs to be fixed in:
-
NativeBase Components/Widgets/Button.js Utils/computeProps.js
-
react-native-easy-grid Utils/computeProps.js
I have created a pull request for this.
Sorry, my comment earlier was wrong. The explicit path still has to be specified. I saw that being checked in.
+1
I encountered this error, but it seems to have stuck around even after removing native-base?
I even tried using react-native init <new project> to create an entirely new project -- but the error persists? Any insight on why this might be?
The path the error is referencing doens't even exist..

Fixed with v0.5.16
Seems that error still persist. However, the issue is with the package react-native-easy-grid. It has to be updated as well.
Correct. That has to be updated as well and the dependency in native-base has to updated.
Get Outlook for iOS
On Mon, Nov 28, 2016 at 5:10 AM -0800, "tzyhhaur" [email protected] wrote:
Seems that error still persist. However, the issue is with the package react-native-easy-grid. It has to be updated as well.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Fixed with latest release 0.5.18
getting the same error message but im not even using 'ReactNativePropRegistry'