title: Blank page after successful Firebase deployment
body: <p>My ReactJs application runs fine on my local box, when I use the <code>npm start</code> command. However when I try to deploy my application using the <code>firebase init</code> to Firebase, I am seeing a blank page. What could I be doing wrong? </p>
  
  <p><strong>Update</strong>: I had to edit the Firebase.json file to remove the </p>
  
  <pre><code>"predeploy": ["npm --prefix \"$RESOURCE_DIR\" run lint"],
  </code></pre>
  
  <p>line as I was getting errors related to that.</p>
  
  <p><strong>Firebase.json:</strong></p>
  
  <pre><code>{
    "database": {
      "rules": "database.rules.json"
    },
    "firestore": {
      "rules": "firestore.rules",
      "indexes": "firestore.indexes.json"
    },
    "functions": {
      "source": "functions"
    },
    "hosting": {
      "public": "public",
      "ignore": [
        "firebase.json",
        "**/.*",
        "**/node_modules/**"
      ],
      "rewrites": [
        {
          "source": "**",
          "destination": "/index.html"
        }
      ]
    },
    "storage": {
      "rules": "storage.rules"
    }
  }
  </code></pre>
  
  <p><strong>Firebase deploy command output:</strong></p>
  
  <pre><code>=== Deploying to 'socialmedia-5ec0a'...
  
  i  deploying database, storage, firestore, functions, hosting
  i  database: checking rules syntax...
  +  database: rules syntax for database socialmedia-5ec0a is valid
  i  storage: checking storage.rules for compilation errors...
  +  storage: rules file storage.rules compiled successfully
  i  firestore: checking firestore.rules for compilation errors...
  +  firestore: rules file firestore.rules compiled successfully
  i  functions: ensuring necessary APIs are enabled...
  +  functions: all necessary APIs are enabled
  i  storage: uploading rules storage.rules...
  i  firestore: uploading rules firestore.rules...
  i  functions: preparing functions directory for uploading...
  i  hosting[socialmedia-5ec0a]: beginning deploy...
  i  hosting[socialmedia-5ec0a]: found 5 files in public
  +  hosting[socialmedia-5ec0a]: file upload complete
  i  database: releasing rules...
  +  database: rules for database socialmedia-5ec0a released successfully
  +  storage: released rules storage.rules to firebase.storage/socialmedia-5ec0a.appspot.com
  +  firestore: released rules firestore.rules to cloud.firestore
  i  hosting[socialmedia-5ec0a]: finalizing version...
  +  hosting[socialmedia-5ec0a]: version finalized
  i  hosting[socialmedia-5ec0a]: releasing new version...
  +  hosting[socialmedia-5ec0a]: release complete
  
  +  Deploy complete!
  
  Project Console: https://console.firebase.google.com/project/socialmedia-5ec0a/overview
  Hosting URL: https://socialmedia-5ec0a.firebaseapp.com
  </code></pre>
  
  <p><strong>Chrome F12 output:</strong>
  <a href="https://i.stack.imgur.com/cT77a.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/cT77a.jpg" alt="enter image description here"></a></p>