This is what I am getting when running the installation command in my command prompt
This error can occur because you haven't installed react-navigation. You can try:
npm start -- --reset-cache npm install react-navigation
I hope it will be useful to you.