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

crashes on iOS launch: "undefined is not an object" #545

Closed
lurui1029 opened this issue Dec 15, 2017 · 2 comments
Closed

crashes on iOS launch: "undefined is not an object" #545

lurui1029 opened this issue Dec 15, 2017 · 2 comments

Comments

@lurui1029
Copy link

*the iOS release-mode app crashes at launch time if anywhere in code is importing 'react-native-svg'.
*Using:
React Native 0.50.2
react-native-svg 5.5.1
*The console error message: "undefined is not an object"

It turns out to be a problem related to color, color-string, color-convert.
Here's a similar issue: GeekyAnts/NativeBase#1348

@dusave
Copy link

dusave commented Dec 16, 2017

Do you have anything more from the stack trace? Is this causing an RSOD? Also, have you tried upgrading to 6.0.x?

@lurui1029
Copy link
Author

I believe it is not a problem of react-native-svg. It worked nice after I upgraded some of the packages in node_modules. Specifically, "color_converter" and "metro-bundler". The issue is now closed!

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