-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
JSON value 'black' of type NSString cannot be converted to NSNumber #3340
Comments
Please provide more info... It's hard to tell what's going on here. |
I'm running into this as well, iOS app on v0.12.0. Using |
Ah, look like we need to use |
Im facing this problem when using the offline bundle only; when i react-native bundle the js code and try to run it on the device i get these errors: 2015-10-13 11:38:36.693 [error][tid:com.facebook.React.ShadowQueue][RCTConvert.m:55] Error setting property 'backgroundColor' of RCTView with tag 5: JSON value 'transparent' of type NSString cannot be converted to NSNumber I tried using the procesColor in the stylesheet styles but this gives errors when running the js from the localhost. Or maybe im using them the wrong way ? |
Nevermind. There was a confusion of where to get the main.jsbundle file; its created in /ios/ folder while its used in xcode in ios/project/. |
I found the solution to my problem as well, the error was coming from an outdated 3rd party lib. |
If you're setting any colors using |
Is there any hope of improving the debugging situation error for these? I'm getting a totally cryptic stacktrace and am now poking around for instances of "black" anywhere in my code or libraries. |
I was getting this as well but noticed this error in xcode log:
Upgrading "react-native-vector-icons" to the latest 0.8.4 fixed it for me. I received this after upgrading react-native to 0.13.2. |
[tid:com.facebook.React.RNVectorIconsManagerQueue]
[RCTConvert.m:55] JSON value 'black' of type NSString cannot be converted to NSNumber
The text was updated successfully, but these errors were encountered: