Closed ghost closed 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
fixed my issue! Thx @douglasjunior !
My app's problem was solved too. Thanks a lot @douglasjunior !
Thanks a lot @douglasjunior ! solved
npm install --save babel-preset-react-native@2.1.0
@psobhanlo million Thanks! This solves my issue.