When I run "npm run dev" nothing happens with NextJS #133987
-
I was fixing some details of my final website, when suddenly I went to run it again and it appeared that "run dev" worked but it didn't appear that it was started at localhost/3000. All of this using Git bash on VsCode. I already tried deleting the .next folder, ran "npm run dev" again and it didn't appear again. I uninstalled and installed NodeJS, I even installed node v20.16.0 and it didn't work. I also created other projects with Next JS again and it still remained the same. This is one of my first projects and I don't know what to do, because I've already tried several ways that I saw on Stackoverflow and some discussions on GitHub and nothing worked, I'd like to know if anyone can help me. Project Repository: https://github.com/devpedro-dias/scx-nextjs |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You can run |
Beta Was this translation helpful? Give feedback.
-
Hey, also maybe you are using env vars? if so, are they set corretly? and also try to run |
Beta Was this translation helpful? Give feedback.
You can run
npm cache clean --force
. Maybe there's some other process using the same port or even a stuck process still uses it. Try another port.