I have installed react-navigation in my React Native project. Its a starter project doesn\'t have any codes. But while running project I am facing
I struggled with this and none of the above answers worked for me. Here's what I had to do:
ios
folder entirely.node_modules
folder and package-lock.json
.react-native eject
to re-create your native code folders.npm install
react-native link
npm run start -- --reset--cache
react-native run-ios