Install babel-preset-react-native@2.1.0
and run the project.
In current project, do this...
yarn remove babel-preset-react-native
yarn add babel-preset-react-native@2.1.0
This worked for me, I hope it will for you too.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.