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

204
Views
Why is firebase giving me an error on deploy?

I finished my website and wanted to host it for free in firebase, I followed all the steps but it won't work . When I type the command "firebase serve" to see how would my website look before deploying it and it gives me :

404 error

Ps: I don't know if it matters but my website includes 2 html files , 4 css and 1 javascript.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Check the firebase.json file and make sure the public property is referencing the path correctly.

The public attribute specifies which directory to deploy to Firebase Hosting so it might be the problem in this case:

{
   "hosting": {
   "public": "./dist/your-app",
   "ignore": [
     "firebase.json",
     "**/.*",
     "**/node_modules/**"
   ],
   "rewrites": [
      {
        "source": "**",
        "destination": "/index.html"
      }
    ]
  }
}
about 4 years ago · Juan Pablo Isaza Report
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!