Reputation: 21
I'm getting the following error:
I have already tried "babel-preset-react-native": "4.0.0"
and npm install
and clean cache and deleting node modules.
Upvotes: 2
Views: 1328
Reputation: 21
I have the same issue as you. I tried this:
Close Metro Bundle
Back to terminal
npm start
your app directory
Go to simulator and press Cmd + R
It works for me, I hope it helps you.
Upvotes: 2