Next.js Discord

Discord Forum

Getting /not-found/ when I start server

Answered
Skipjack tuna posted this in #help-forum
Open in Discord
Skipjack tunaOP
Hi, i'm fairly new to Next.js, and I have a pretty blank Next.js project.

However, when I start my server using next dev it seems the index page does not load. Any ideas?
Answered by joulev
Delete the root /app
View full answer

3 Replies

Answer
It clashes with /src/app
Skipjack tunaOP
Oh I see, I must've written something wrong when setting up shadcn which led it to creating that in the root rather than within the src/ folder. Thank you!