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

I am making an interactive application with my frd. So, I got the code that I made first, and I wanted to open my computer. I think I installed and configured tcp: 8081 in the dev menu. but I got an error after starting reaction-native packager. I am using a 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 
+8
react-native error-code
source share
2 answers

1: - close the terminal. 2: - close the application in the device. And rebuild the application in which it will work.

0
source share

Searching for react-native __dev__ not define online does not provide many results and possible solutions.

Here is one that is pretty popular:

https://github.com/facebook/react-native/issues/7814#issuecomment-222975165
- enter 'babel-preset-Reaction-native' in my package.json - use this for reference: https://www.npmjs.com/package/babel-preset-react-native

0
source share

All Articles