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

undefined is not an object(evaluating 'ViewPropTypes.style') #2

Closed
didil opened this issue Jun 8, 2017 · 4 comments
Closed

undefined is not an object(evaluating 'ViewPropTypes.style') #2

didil opened this issue Jun 8, 2017 · 4 comments

Comments

@didil
Copy link

didil commented Jun 8, 2017

getting this error when importing Emoticons as described in readme file,

react native 0.42

screenshot :

screen shot 2017-06-08 at 14 21 36

partial stack trace :

2017-06-08 14:17:01.743 [fatal][tid:com.facebook.react.ExceptionsManagerQueue] Exception '-[NSNull integerValue]: unrecognized selector sent to instance 0x1034d0180' was thrown while invoking updateExceptionMessage on target ExceptionsManager with params (
"undefined is not an object (evaluating 'ViewPropTypes.style')",
(
{
column = 28;
file = "node_modules/react-native-emoticons/node_modules/react-native-scrollable-tab-view/DefaultTabBar.js";
lineNumber = 20;
methodName = "";
},
{
column = 12;
file = "node_modules/react-native/packager/src/Resolver/polyfills/require.js";
lineNumber = 171;
methodName = loadModuleImplementation;
},
{
column = 30;
file = "node_modules/react-native-emoticons/node_modules/react-native-scrollable-tab-view/index.js";
lineNumber = 20;
methodName = "";
},
{
column = 12;
file = "node_modules/react-native/packager/src/Resolver/polyfills/require.js";
lineNumber = 171;
methodName = loadModuleImplementation;
},
{
column = 0;
file = "node_modules/react-native-emoticons/index.js";
lineNumber = 18;
methodName = "";
},
{
column = 12;
file = "node_modules/react-native/packager/src/Resolver/polyfills/require.js";
lineNumber = 171;
methodName = loadModuleImplementation;
},

@xiewang
Copy link
Owner

xiewang commented Jun 8, 2017

It is incompatibility problem between RN and react-native-scrollable-tab-view
This solution might be helpful:
ptomasroos/react-native-scrollable-tab-view#634

@didil
Copy link
Author

didil commented Jun 9, 2017

are you suggesting we upgrade to RN 0.45 ?

@xiewang
Copy link
Owner

xiewang commented Jun 10, 2017

@didil or you can reduce your react-native-scrollable-tab-view @0.7.0

@didil
Copy link
Author

didil commented Jun 12, 2017

ok upgrading to 0.45 fixed the issue, 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

2 participants