Code Bug Fix: deployed react projects showing blank

Original Source Link

I am in desperate need of help.

I have deployed my react projects for a client but when I go visit the link, it shows as a blank screen.

When I deployed to netlify, it would render fine, but now I am using hostinger, it is not showing.

I have tried adding ‘homepage”: “.”,’ to the package.json file but it didnt change anything. This seems to be a popular answer. But that didnt work, so I removed it.

Here is my package.json file:

  "name": "andyburnsfitness",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "@fortawesome/fontawesome-svg-core": "^1.2.28",
    "@fortawesome/free-solid-svg-icons": "^5.13.0",
    "@fortawesome/react-fontawesome": "^0.1.9",
    "axios": "^0.19.2",
    "bootstrap": "^4.5.0",
    "core-js": "^3.6.5",
    "emailjs-com": "^2.4.1",
    "nice-try": "^2.0.1",
    "nodemailer": "^6.4.6",
    "react": "^16.13.1",
    "react-animate-on-scroll": "^2.1.5",
    "react-app-polyfill": "^1.0.6",
    "react-bootstrap": "^1.0.1",
    "react-dom": "^16.13.1",
    "react-mail-form": "^2.1.0",
    "react-reveal": "^1.2.2",
    "react-router-dom": "^5.2.0",
    "react-router-scroll-top": "^0.2.1",
    "react-scripts": "2.1.8",
    "react-scroll": "^1.7.16",
    "react-scroll-to": "^3.0.0-beta.6",
    "react-simple-contact-form": "0.0.1",
    "sendmail": "^1.6.1"
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  "eslintConfig": {
    "extends": "react-app"
  "browserslist": [
    "not dead",
    "not ie <= 11",
    "not op_mini all"

Here is where the URL of the website:

Your help is hugely appreciated. I am praying for an solution!

Please let me know if you require any further information


I have just seen that this message is in the console:

“Source map error: Error: NetworkError when attempting to fetch resource.
Resource URL: http://localhost:3000/static/js/0.chunk.js
Source Map URL:”

Tagged : /

Leave a Reply

Your email address will not be published. Required fields are marked *