Getting not found page on landing page after server restart
Answered
Cuban Crocodile posted this in #help-forum
Cuban CrocodileOP
I restarted my dev server and now all of the sudden I am getting a 404 on my
/ URL. I have tried restarting the dev server multiple times and running it on different terminals and nothing helps. Any ideas?Answered by Cuban Crocodile
I just realized when I installed Shadcn/ui it created an app folder at the root of the project
14 Replies
Cuban CrocodileOP
Here is my file layout
have you tried delete .next folder and try re-run it again?
@wolfishy have you tried delete .next folder and try re-run it again?
Cuban CrocodileOP
I have not I can try that now
Tried that and it still does not work
Oh I think I know what the issue is
Cuban CrocodileOP
I just realized when I installed Shadcn/ui it created an app folder at the root of the project
Answer
Cuban CrocodileOP
I assume it is trying to read from that
🤦â€â™‚ï¸
Lol, thats probably it. did you create a component.json from shadcn, I believe they ask a choice to create the .json config?
Cuban CrocodileOP
Yeah I did
Cuban CrocodileOP
I just reconfigured that file and copied over the css file into the correct spot and everything is working as expected
Silly error