nuxt-ssr-firebase icon indicating copy to clipboard operation
nuxt-ssr-firebase copied to clipboard

Error when adding firebase Auth

Open educkf opened this issue 7 years ago • 2 comments

I tried to "merge" this example with your other example using Firebase Auth, but I keep getting the error:

The XMLHttpRequest compatibility library was not found.

This error happens on server render, only when I import Auth to the vuex store. Any idea on how to solve it? thanks!

educkf avatar Sep 21 '18 20:09 educkf

I also have the same isssue with nuxt universal config. When i use express instead of nuxt as default server am able to solve this by adding the XMLHttpRequest compatibility module to the server/index.js

global.XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest

but using nuxt as default the same problem appear

franklinkemta avatar Nov 21 '18 17:11 franklinkemta

no one else ....?

RouillerRomain avatar Jan 10 '19 02:01 RouillerRomain