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

Following 'getting started' on react native 0.20, unmodified app crashes on first run #6085

Closed
refugeefromflashland opened this issue Feb 22, 2016 · 5 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@refugeefromflashland
Copy link

Following the https://facebook.github.io/react-native/docs/getting-started.html#content:

Creating and initing the app (with '$ npm install -g react-native-cli' , then '$ react-native init Canine) seems to work fine.

But then opening the unmodified app in xcode and running results in red screen (see attached screenshot and xcode log).

Same error happens when building it from commandline (with 'react-native run-android').

Last time I started a new app (then using 0.17), this crash did not happen.

Node version is 5.3.0, xcode version is 7.2

simulator screen shot 22 feb 2016 14 17 13
xcodelog.txt

@Kureev
Copy link
Contributor

Kureev commented Feb 22, 2016

Have you tried to upgrade your native part? Try to run

$ react-native upgrade

@refugeefromflashland
Copy link
Author

Tried that, get same error.

@Kureev
Copy link
Contributor

Kureev commented Feb 22, 2016

Have you tried to reset a packager cache after upgrade?

$ ./node_modules/react-native/packager/packager.sh start --reset-cache

@refugeefromflashland
Copy link
Author

That seems to have done the trick, app now shows the default 'welcome...' index,js just as it should! Thanks!

@Kureev
Copy link
Contributor

Kureev commented Feb 22, 2016

You're always welcome 👍

@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 20, 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

3 participants