Error 404 on npx create-next-app@latest
Unanswered
Atlantic mackerel posted this in #help-forum
Atlantic mackerelOP
Hello! I'm trying to explore next.js, starting off by following the docs.
However, just after running automatic installation
Am I missing something here?
However, just after running automatic installation
npx create-next-app@latest
and npm run dev
, I am getting an error 404. I've done no changes on the code base yet.Am I missing something here?
10 Replies
visit
/
and it will workAtlantic mackerelOP
Yes, once I hit localhost:3000, it redirects immediately to /support.
I tried clearing the cache too, same result.
Atlantic mackerelOP
Here's my entire directory!
Is it possible you typed localhost manually on the search bar and it autocompleted to /support?
@Atlantic mackerel Here's my entire directory!
there are chances that you ran an app earlier which had permanent redirect to /support
@Yi Lon Ma there are chances that you ran an app earlier which had permanent redirect to /support
If that's the case, I guess it would just take running the npm command to clear the cache...
@Losti! If that's the case, I guess it would just take running the npm command to clear the cache...
for me, I have to open the devtools, disable caching in network and try to manually navigate to root
@Yi Lon Ma for me, I have to open the devtools, disable caching in network and try to manually navigate to root
I don't usually use it for these cases, interesting. ^^