Hi there, I have recently encountered a new error after upgrading to 2.1.4 (downgrading doesn't resolve the issue). This happens when importing any NativeBase component.
[10:35]
```Cannot read property 'style' of undefined
handleException @ ExceptionsManager.js:63
handleError @ InitializeCore.js:125
reportFatalError @ error-guard.js:44
guardedLoadModule @ require.js:120
_require @ require.js:109
(anonymous) @ index.android.bundle?platform=android&dev=true&hot=false&minify=false:140809
executeApplicationScript @ debuggerWorker.js:40
(anonymous) @ debuggerWorker.js:65
*followed by*
```ExceptionsManager.js:63 Module AppRegistry is not a registered callable module (calling runApplication)
handleException @ ExceptionsManager.js:63
handleError @ InitializeCore.js:125
reportFatalError @ error-guard.js:44
guard @ MessageQueue.js:48
callFunctionReturnFlushedQueue @ MessageQueue.js:107
(anonymous) @ debuggerWorker.js:71
This seems to be similar to the issue listed here https://github.com/skv-headless/react-native-scrollable-tab-view/issues/634. When I greped for ViewPropStyles.style, all results returned were located in node_modules//native-base/src/basic/Tabs/*
I'm using [email protected] & [email protected]
Installing directly from github does not resolve the issue either
Same issue. This happened when I upgraded. I use an older version of react@^15 and [email protected], but tried upgrading to the latest react and react-native and it stilled worked.
Same issue
@jasonnathan Please check the Release Notes for 2.1.4
It says Supports React Native >= 0.44.0
Sure, but downgrading did not solve the issue either
On 24 May 2017 15:51, "SupriyaKalghatgi" notifications@github.com wrote:
@jasonnathan https://github.com/jasonnathan Please check the Release
Notes for 2.1.4
https://github.com/GeekyAnts/NativeBase/releases/tag/v2.1.4It says Supports React Native >= 0.44.0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GeekyAnts/NativeBase/issues/846#issuecomment-303646436,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAvnfWNwexQJ4Z7TXz6b-DuN9EubjXx6ks5r8-GMgaJpZM4NjHPn
.
@jasonnathan
"native-base": "2.1.4",
"react": "16.0.0-alpha.6",
"react-native": "0.44.0"
This should work
+1
I can't change my react version because of other packages
On 24 May 2017 4:58 pm, "Seongjung Kim" notifications@github.com wrote:
+1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GeekyAnts/NativeBase/issues/846#issuecomment-303662249,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAvnfXFAxG7yn_i_rZ61xkumlkhLDZAkks5r8_E3gaJpZM4NjHPn
.
The version dependency in Release Notes of 2.1.4 says React Native >= 0.44.0
Please follow accordingly
@SupriyaKalghatgi solution worked for me. Thank you!
@supriyakalghatgi. I understand you the first time you mentioned it. But
here is the issue, now that I have upgraded I can't seem to downgrade the
package version. The errors remain.
I can't upgrade my React version either because it will conflict with other
packages. It appears as if the upgrade was irreversable.
As of now, I forked the package and corrected the problem but it remains an
issue.
On Wed, 24 May 2017 at 10:59 PM, Jenny Kortina notifications@github.com
wrote:
@SupriyaKalghatgi https://github.com/supriyakalghatgi solution worked
for me. Thank you!—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GeekyAnts/NativeBase/issues/846#issuecomment-303750791,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAvnffau060v3YEbUUNtZpOPnx0veNsnks5r9EW1gaJpZM4NjHPn
.>
Sent from my mobile device. Skype: jason.nathan, Mobile: 90220964
Most helpful comment
@SupriyaKalghatgi solution worked for me. Thank you!