-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infinity loading. Angular 9 Universal + Firebase #2416
Comments
Can you share what you are doing on your ngInit on the BookComponent? Are you using firestore? |
I am getting same issue, I am not using @angular/fire, I am just using firebase sdk in my project |
try changing this line
to
|
Closing as we've addressed most SSR issues at this point. |
Hi @jamesdaniels , I'm struggling with the exact same behaviour at this point, with Angular 12.2.4 / Firebase 9.1 / Angular 7.1.1. The rendering of the app with SSR is hanging and we get timeouts everytime there's a query. I tried to place I also tried to remove that 1st line and add back the externalDependencies in the I followed those links to find this issue:
On the Firebase side, the issue is still open. So, there's still something going on there. Any help would be much appreciated. |
I also have been experiencing this. I am not sure if I have ever had it working, but it seems that my cloud function times out anytime I request a page that executes a query. Is there any known work around? |
Version info
Angular:
"@angular/cdk": "^9.2.1"
Firebase:
"firebase": "^7.14.1"
AngularFire:
"@angular/fire": "^6.0.0"
I'm trying to set up Angular 9 Universal + Firebase application. I've added Universal packages to my project and Firebase cloud function to support SSR. Here is the code of my cloud function:
My firebase config:
Build passes without errors and application seems to be working fine but routing doesn't work. Main route (
/
) loads well and I can navigate to other routes without errors but if I try to open any other route (for example/books
) in a new tab or reload already opened route I'll get timeout exception.I don't know why do I have this error. I've already tried to increase timeout to 120s but it didn't help. Any advises how can I fix it?
Debug output
Errors in the JavaScript console
Screenshots
Expected behavior
Routing works without errors
Actual behavior
Timeout when open any route in a new tab or reload.
The text was updated successfully, but these errors were encountered: