I am building a dashboard app on Next.js and suddenly my localhost refuses to work it keeps redirecting me to the 404 page. it happened before but I cant remember how I fixed it. Here is what I keep getting
I have tried deleting the .next folder and also also node modules. it still doesn't fix it. Please anyone has any idea on how to fix this
ensure there's no folder with 'app' name on your root directory.