Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

205
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda