Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

1.2K
Visualizações
Why is my React App not loading on localhost?

I've been working on with React for a while, successfully using npm start to view how my application is running.

At some point, my app stopped loading at http://localhost:3000/.

I get this in the terminal:

Compiled successfully!

You can now view contact-list in the browser.

  Local:            http://localhost:3000
  On Your Network:  http://192.168.1.16:3000

Note that the development build is not optimized.
To create a production build, use npm run build.

In my Chrome browser, it looks like it's just perpetually loading, showing no errors. Nothing is showing up in the console.

I tried deleting the browser cache.

I tried checking http://192.168.1.16:3000. It also just perpetually loaded.

I tried another project on the same port and it worked, so it doesn't seem like an issue with the port.

Here is my package.json:

{
  "name": "contact-list",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "@testing-library/jest-dom": "^5.11.10",
    "@testing-library/react": "^11.2.6",
    "@testing-library/user-event": "^12.8.3",
    "bootstrap": "^5.1.3",
    "react": "^18.1.0",
    "react-dom": "^17.0.2",
    "react-router-dom": "^6.3.0",
    "react-scripts": "4.0.3",
    "web-vitals": "^1.1.1"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },
  "eslintConfig": {
    "extends": [
      "react-app",
      "react-app/jest"
    ]
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }
}

Does anyone know what could be going wrong?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Not enough data. But one of the reasons could be that at some point port 3000 was not released correctly. Try to kill the process by port, or simply reboot the system

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda