douglasjunior / react-native-easybluetooth-classic

⚛ A Library for easy implementation of Serial Bluetooth Classic on React Native (Android Only).
https://www.npmjs.com/package/easy-bluetooth-classic
MIT License
43 stars 7 forks source link

The development server returned response error code: 500 #5

Closed ghost closed 7 years ago

ghost commented 7 years ago

screenshot_1503898288

douglasjunior commented 7 years ago

I still do not know why, but in the newer versions of React Native its starting with babel-preset-react-native version 3.0.0 or 2.0.1.

These versions do not support some of the features we're used. To solve, just update to version 2.1.0. See https://github.com/facebook/react-native/issues/15513

yarn add babel-preset-react-native@2.1.0

Or

npm install --save babel-preset-react-native@2.1.0
ghost commented 7 years ago

fixed my issue! Thx @douglasjunior !

mehtapcelik284 commented 6 years ago

My app's problem was solved too. Thanks a lot @douglasjunior !

psobhanlo commented 6 years ago

Thanks a lot @douglasjunior ! solved npm install --save babel-preset-react-native@2.1.0

maniyarpayal commented 6 years ago

@psobhanlo million Thanks! This solves my issue.