DEV Community

Thabo Pali
Thabo Pali

Posted on

3

Deploy React App to IIS

I'm having difficulty deploying my react app on a Windows server (IIS). I have executed the npm run build command and copied the build folder to the server, however the app display a blank page when I browse to the website.

Please assist, been struggling with this for two days now.

When I look at the developer console in Chrome I get these errors below:

localhost/:1 GET http://localhost/static/js/2.74a5bd4f.chunk.js net::ERR_ABORTED 404 (Not Found)
localhost/:1 GET http://localhost/static/css/main.2cfecded.chunk.css net::ERR_ABORTED 404 (Not Found)
localhost/:1 GET http://localhost/static/css/2.818011ed.chunk.css net::ERR_ABORTED 404 (Not Found)
localhost/:1 GET http://localhost/static/js/main.ac3e9509.chunk.js net::ERR_ABORTED 404 (Not Found)
localhost/:1 GET http://localhost/static/js/2.74a5bd4f.chunk.js net::ERR_ABORTED 404 (Not Found)
localhost/:1 GET http://localhost/static/js/main.ac3e9509.chunk.js net::ERR_ABORTED 404 (Not Found)
manifest.json:1 GET http://localhost/manifest.json 404 (Not Found)
manifest.json:1 Manifest: Line: 1, column: 1, Syntax error.

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay