The development server returned response error code: 500 in react-native

HEO JUN HYEOK picture HEO JUN HYEOK · Nov 25, 2016 · Viewed 12.4k times · Source

I'm making react-native app with my frd. So I got the code my frd first made and I wanted to open my computer. I think I set everything and did tcp:8081 setting in dev menu. but I got error message after started react-native packager. I use real phone device.

enter image description here

Please help me.

[2016-11-25 17:13:55] <START> Initializing Packager
[2016-11-25 17:13:55] <START> Building in-memory fs for JavaScript
[2016-11-25 17:13:56] <END>   Building in-memory fs for JavaScript (1172ms)
[2016-11-25 17:14:00] <START> Building Haste Map
[2016-11-25 17:14:01] <END>   Building Haste Map (668ms)
[2016-11-25 17:14:01] <END>   Initializing Packager (5738ms)
[2016-11-25 17:14:26] <START> Requesting bundle  url: /index.android.bundle?platform=android&dev=true&hot=false&minify=false
[2016-11-25 17:14:26] <START> Transforming modules

Answer

MANAPPA KAMMAR picture MANAPPA KAMMAR · Jan 3, 2017

1:- close the Terminal. 2:- close the application in a device. And rebuild the application it will work.