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 response error code 500 #15534

Closed
reza7rm opened this issue Aug 17, 2017 · 9 comments
Closed

react-native response error code 500 #15534

reza7rm opened this issue Aug 17, 2017 · 9 comments
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@reza7rm
Copy link

reza7rm commented Aug 17, 2017

Hello
I'm encountering a strange issue , when I use react-native run-android command on the template project which I've created using react-native init I get the following the red error page on the device:
re-error

and then it disappears leaving me with a totally blank page!
the packager terminal shows the following error:
capture

Development OS: Win 7
react-native-cli: 2.0.1
react-native: 0.47.1
node-v: 6.11.2
npm -v: 3.10.10
yarn --version: 0.27.5
device android version:6.0.1

@adam-o-neill
Copy link

I was getting the same error today. For me, I fixed by downgrading babel-preset-react-native from 3.0.0 to 1.9.2 in my package.json.

"devDependencies": { "babel-jest": "20.0.3", "babel-preset-react-native": "1.9.2", "jest": "20.0.4", "react-test-renderer": "16.0.0-alpha.12" }

Then just run 'yarn' in your terminal

@reza7rm
Copy link
Author

reza7rm commented Aug 17, 2017

Thank you very much @adon94 , you saved a day !

@charpeni
Copy link
Contributor

Should be fixed in the next release of babel-preset-react-native.

@charpeni
Copy link
Contributor

@facebook-github-bot duplicate #15513

@facebook-github-bot
Copy link
Contributor

Duplicate of #15513

@facebook-github-bot facebook-github-bot added the Ran Commands One of our bots successfully processed a command. label Aug 17, 2017
@haru1313
Copy link

Hello,
I'm getting this error "The development server returned response code:500"
I decremented the version of the dependencies but still the error is not going.

Please help.

@PawarSonali
Copy link

I have done everything change babel dependecy change react-native version , create new project , remove node_modules everything still it is showing same error.Help me please.

@blackwine93v
Copy link

Did you try to connect on same wifi network (phone & computer)?

@PawarSonali
Copy link

PawarSonali commented Jul 19, 2018 via email

@facebook facebook locked as resolved and limited conversation to collaborators Aug 17, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Aug 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

8 participants