title: Firebase Hosting not generate firebase.json
body: <p>I'm trying to host a website in Firebase Hosting (free plan), I followed the steps but it does not generate the file firebase.json</p>
  
  <p>my steps</p>
  
  <p><strong>1-</strong> firebase login
  Already logged in as r*****@gmail.com</p>
  
  <p><strong>2-</strong> firebase init</p>
  
  <pre><code> ######## #### ########  ######## ########     ###     ######  ########
   ##        ##  ##     ## ##       ##     ##  ##   ##  ##       ##
   ######    ##  ########  ######   ########  #########  ######  ######
   ##        ##  ##    ##  ##       ##     ## ##     ##       ## ##
   ##       #### ##     ## ######## ########  ##     ##  ######  ########
  </code></pre>
  
  <p>You're about to initialize a Firebase project in this directory:</p>
  
  <p>C:\Users\Rafael de Azeredo</p>
  
  <p>Before we get started, keep in mind:</p>
  
  <ul>
  <li>You are initializing in an existing Firebase project directory</li>
  </ul>
  
  <p>? Are you ready to proceed? Yes
  ? Which Firebase CLI features do you want to setup for this folder? Press Space to select features, then Enter to confi
  rm your choices. Hosting: Configure and deploy Firebase Hosting sites</p>
  
  <p>=== Project Setup</p>
  
  <p>First, let's associate this project directory with a Firebase project.
  You can create multiple project aliases by running firebase use --add,
  but for now we'll just set up a default project.</p>
  
  <p>i  .firebaserc already has a default project, skipping</p>
  
  <p>=== Hosting Setup</p>
  
  <p>Your public directory is the folder (relative to your project directory) that
  will contain Hosting assets to be uploaded with firebase deploy. If you
  have a build process for your assets, use your build's output directory.</p>
  
  <p>? What do you want to use as your public directory? public
  ? Configure as a single-page app (rewrite all urls to /index.html)? No
  ? File public/404.html already exists. Overwrite? No
  i  Skipping write of public/404.html
  ? File public/index.html already exists. Overwrite? No
  i  Skipping write of public/index.html</p>
  
  <p>i  Writing configuration info to firebase.json...
  i  Writing project information to .firebaserc...</p>
  
  <ul>
  <li>Firebase initialization complete!</li>
  </ul>
  
  <p><strong>3-</strong> firebase deploy</p>
  
  <p>=== Deploying to 'myhosting-dfe25'...</p>
  
  <p>i  deploying database, hosting
  i  database: checking rules syntax...
  +  database: rules syntax for database myhosting-dfe25 is valid
  i  hosting: preparing public directory for upload...
  +  hosting: 2 files uploaded successfully
  i  database: releasing rules...
  +  database: rules for database myhosting-dfe25 released successfully</p>
  
  <ul>
  <li>Deploy complete!</li>
  </ul>
  
  <p>Project Console: <a href="https://console.firebase.google.com/project/myhosting-dfe25/overview" rel="nofollow noreferrer">https://console.firebase.google.com/project/myhosting-dfe25/overview</a>
  Hosting URL: <a href="https://myhosting-dfe25.firebaseapp.com" rel="nofollow noreferrer">https://myhosting-dfe25.firebaseapp.com</a></p>
  
  <p><strong>4-</strong> <a href="https://myhosting-dfe25.firebaseapp.com" rel="nofollow noreferrer">https://myhosting-dfe25.firebaseapp.com</a>
  but when I open the page I get this message instead of my index.html:</p>
  
  <p>Welcome
  Firebase Hosting Setup Complete
  You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!</p>
  
  <p>Can someone help me please?</p>