I have been learning Next.js 13. I have encountered an unusual error when I start the app for the first time. The pages are shown properly. But if I close it and reopen the application again, it starts showing a page not found.




I just ran the application just like any other normal app. I was expecting to see the contents of my page, but it's showing the page not found error.
That happens because you have the app directory in the root and in the src directory. You made a route in src/app/page.tsx but Next.js will not read your src if there is <ROOT>/app so it's not found.
Remove the extra app directory