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

React Native 0.49.5 crash in release mode. #16920

Closed
hushicai opened this issue Nov 22, 2017 · 6 comments
Closed

React Native 0.49.5 crash in release mode. #16920

hushicai opened this issue Nov 22, 2017 · 6 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@hushicai
Copy link

hushicai commented Nov 22, 2017

Is this a bug report?

yes

Have you read the Contributing Guidelines?

yes

Environment

OS: macOS Sierra 10.12.6
Node: 8.9.0
Yarn: not installed
npm: 5.5.1
Watchman: 4.7.0
Xcode: Version 9.0 (9A235)
react-native: 0.49.5
react: 16.0.0-beta.5
Target Platform: IOS 10.3.3(14G60)

Steps to Reproduce

  1. xcode run in release mode into real device.
  2. crash
  3. view devices logs

image

Expected Behavior

App opened normally.

Actual Behavior

Can not open App at all, crash!

Reproducible Demo

no

I have use react-codemod to fix View.propTypes, but codemod does not modify Animated.View.propTypes, is that cause the same problem?

@wangghon
Copy link

It seems your code or one of your dependency still using View.propTypes, should be changed to ViewPropTypes

@hushicai
Copy link
Author

Yes, It is.

@amirmatin
Copy link

I also had the same issue, mine was fixed my by removing node_module files and installing them back.. it is not the best fix but does the job ..!

@sunnymopada
Copy link

@hushicai How did you see those logs in release mode? Thanks!

@hushicai
Copy link
Author

@SanyasiraoM https://stackoverflow.com/questions/39089772/release-mode-diagnostics-in-react-native
You can use mac console.app to see logs.

@sunnymopada
Copy link

Thank you @hushicai

@facebook facebook locked as resolved and limited conversation to collaborators Nov 22, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Nov 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants