Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

357
Vistas
socketio net::ERR_ABORTED 404 (Not Found)

I've recently been learning about socket.IO.
I've hosted a static directory "Public" using express, and i imported socketio into the index.html.

<script src="../node_modules/socket.io/client-dist/socket.io.js"></script>

The browser will report an error:

GET http://127.0.0.1:3000/node_modules/socket.io/client-dist/socket.io.js net::ERR_ABORTED 404 (Not Found)

But I modified it this way:

<script src="/socket.io/socket.io.js"></script>

It works well!

Here is the folder directory structure

But the Public directory doesn't have any other js files,

So, where does it come from ?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda