This error gave me nightmares but the solution is very simple. All you have to do is rename the first screen you want to be shown when your app starts to index.js or index.tsx or index.jsx or index.ts depending on the file type or extension you are using. That's it. Don't forget to update the name in other parts of your program as well