I'm brand new to react-native, and trying to render my first bit of text on the screen.
When I run react-native run-ios and then click into my sample app, I see the following error:
index.js DOES exist in my project, with the following code:
'use strict';module.exports = require('./configs/main');
So far, I have tried the following:
1) Re-installing npm for babel-preset-react-native
2) Using yarn to remove and then re-add babel-preset-react-nativeyarn remove babel-preset-react-nativeyarn add [email protected]
3) Deleting babel.rc entirely
Nothing has worked. Eager to hear advice and suggestions for other things to try.