Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

233
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!