-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Error: The XMLHttpRequest compatibility library was not found. #1461
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
Comments
Hey @chriseenberg! AngularFire currently doesn't work with Angular Universal but we are very close! I'm not sure what you were doing to get it working before, but it shouldn't have been. I hope we are only around a week away from getting Universal support released to a |
@davideast I am having the same issue too. Eagerly waiting for the universal addon |
having the same issue to use angularfire with SSR. Does this seem to be the current case still? does the angularfire library intend to support SSR support or still pending PR? |
Check out angularfire2@next for SSR
…On Tue, Apr 17, 2018, 3:31 AM Erick Ballesteros ***@***.***> wrote:
having the same issue to use angularfire with SSR. Does this seem to be
the current case still? does the angularfire library intend to support SSR
support or still pending PR?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1461 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACvr33gVi3XCWb7F5hy2kBvSZmOmhUZks5tpbZugaJpZM4R_5nb>
.
|
I have the same issue. There's any solution for running AngularFire2 with Angular5 and Universal? |
@davidmartinezros See the comment above yours about installing angularfire2@next. It should solve this problem. |
Hi guys
I've recently updated my angularfire2 to version RC6, which stopped my webapp from being served as SSR webapp. I've provided information below. I hope this will suffice. :)
Version info
How to reproduce these conditions
Install angularfire2 with firebase as per my dependency versions.
Steps to set up and reproduce
I've setup a firebase function which serves my application like shown in the video from firebase -> Link to firebase tutorial
When trying to access my site online, it comes out with a
503 - first byte timeout
This did not appear until i updated angularfire2 to version rc6.
Since then i've had this error.
Note that i've tried with multiple versions of
"firebase"
this includes 4.8.0, 4.8.2 and 4.9.0 without luck. Everything compiles perfectly when running ng serve.Debug output
I've checked the functions logs and this error comes out.
Unhandled Promise rejection: The XMLHttpRequest compatibility library was not found. ; Zone: <root> ;
Errors in the JavaScript console
GET https://path-to-site 503 ()
Screenshot
Screenshot 1

Screenshot 2

Screenshot 3

Expected behavior
Should serve the webapp
Actual behavior
Comes out with service unavailable and function log errors
I hope i've provided sufficient data for you guys to take a look at. I can provide more information if need be.
Kind regards Chris
The text was updated successfully, but these errors were encountered: