I am using native base for making app in react-native. I am new to both things. When I run the app It gives me this error:
Here is my code:
Ok guys, here we are my solution for this issue:
npm install native-base@latest -g
npm install react-native@latest -g
change package.json for these dependencies
delete node_modules and npm install
Open it Xcode and Build/Run from scratch
I hope it helped