I'm trying to use react-navigation with my react-native project. The project will work up until I install react-navigation. After I install it when I try to run my app using a virtual device I keep getting an error when I try to use the command react-native run-android. I'm not sure what happened, but it was working just fine before installing react-navigation. Below is the error i'm getting after I try to start it.
react-native start bundler after using react-native run-android
Any help will be greatly appreciated