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

235
Vistas
React App running fine on localhost but not able to fetch static files like main.chunk.js, bundle.js and 0.chunk.js etc

The Application is running fine on localhost but when the react app development server is hosted on production with a public Ip and accessed using that public Ip the page is not able to fetch static files like favicon, main.chunk.js, bundle.js, and 0.chunk.js, etc. I am proxying react app development server with Nginx using a route /rx on this production server. I had begun this project using create-react-app. It was working fine till now but suddenly this problem has popped up and even reverting the commits to earlier stable ones is not helping.

My index.js looks like this

enter image description here

This is how my package.json looks like

enter image description here

This is how my app.js looks

enter image description here

Here are the error Screen Shots when accessed over public ip

enter image description here

However everything is working fine when same code is accessed over localhost as seen follows.

enter image description here

about 4 years ago · Santiago Gelvez
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