Possible Unhandled Promise Rejection (id: 0): `tabBar` cannot be defined as a function in navigation options for `Counter` screen
badis opened this issue · 2 comments
badis commented
I have started a new app following the installation instructions:
git clone https://github.com/futurice/pepperoni-app-kit.git
cd pepperoni-app-kit
yarn install
react-native run-android
At first run i got this error:
Possible Unhandled Promise Rejection (id: 0): `tabBar` cannot be defined as a function in navigation options for `Counter` screen
Note: All tests run successfully !
Thanks
kagmanoj25 commented
just run below command then restart your VSC then run the android command you will get output
"yarn add react-navigation"
badis commented
@kagmanoj25 react-navigation is already installed.
I have tried to install it another time and it works! may be it's cache issue in npm modules or something liket that!