admin管理员组

文章数量:1122826

I built a website using React, Node.js, MongoDB, Tailwind. Everything was running fine. I restarted my laptop and when I un npm start, it just says "Server running on HTTP://localhost:5002" and "connected to MongoDB", but the application never starts on localhost:3000.

I have been trying for hours to figure out whats going on but I just can't. I don't have any errors either because the code works fine like I said. Any help please!

I built a website using React, Node.js, MongoDB, Tailwind. Everything was running fine. I restarted my laptop and when I un npm start, it just says "Server running on HTTP://localhost:5002" and "connected to MongoDB", but the application never starts on localhost:3000.

I have been trying for hours to figure out whats going on but I just can't. I don't have any errors either because the code works fine like I said. Any help please!

Share Improve this question asked Nov 22, 2024 at 22:27 user123456789user123456789 377 bronze badges 2
  • Are you in your frontend directory when you run npm start? – keithwalsh Commented Nov 22, 2024 at 22:48
  • It's unknown what your project looks like and t's unclear what you did to make a server start at localhost:3000 . See stackoverflow.com/help/how-to-ask . If there are two different projects for front and backend, you're supposed to start 2 different servers – Estus Flask Commented Nov 24, 2024 at 10:30
Add a comment  | 

1 Answer 1

Reset to default -1

To resolve your issue, you can go through this:

  1. Try to delete node_moudles folder, and then run npm install in your project terminal. It will reinstall your dependencies of the project.

  2. Try to use other browesers or clear the cache of your current browser.

Hope it helps you!

本文标签: reactjsReact application working perfectly fine But stopped working after restarting laptopStack Overflow