Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Firebase Firstore Doc.Get does not let angular universal to resolve

Abierto
#2,342 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 7 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
angular, firebase, node.js, typescript

Línea de trabajo

Reproduce el tiempo de espera agotado en un renderizado del lado del servidor con Angular Universal usando una Cloud Function y firebase-admin Firestore, comparando las consultas de colecciones con collection('collectionPath').doc('docId').get(). Sigue la pila de llamadas alrededor de la operación de obtención del documento; el problema se resuelve cuando SSR devuelve HTML sin agotar el tiempo de espera.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

needs-triage

I'm reporting for the first time so if I'm making some mistake let me know.

The thing is that I'm working on an angular app that uses angular universal and firebase as backend. When hosting, i use a cloud function to Server-Side Render the website for SEO and preview, as usual.

But, it took me 4 weeks to discover what was wrong with my code, at some point, the ssr just stopped working. The request to ssr function always times out.

Then last week I've been rewriting the WHOLE app, and testing it step by step, until i notice a bug that happens when working with angular and firebase-admin (firestore, to be more precise)

When I insert a firestore.collection('collectionPath').doc('docId').get() the ssr part of the app just stopped working. There's something inside this that holds angular to return the html response. I've been conducting lots of testing, indeed, the get request works normally.

I've followed the whole callstack and there's something that holds angular in place preventing the returning.

I make two more requests at the same time, the first was a query, taht worked perfectly. When i inserted the doc().get(), it stopped working. I'm not able to give you more details because I'm noob in this kind of thing, but if you beed any additional let me know.

Lenguaje dominante
TypeScript
Estrellas
1.8k
Forks
420
Merge medio
5 d 6 h
PR fusionados (30 d)
11

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de firebase/firebase-admin-node

Todos los issues de firebase/firebase-admin-node

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.