-
Notifications
You must be signed in to change notification settings - Fork 928
XMLHttpRequest is not defined -> when using storage -module on nodejs #349
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 there! I couldn't figure out what this issue is about, so I've labeled it for a human to triage. Hang tight. |
Hmmm this issue does not seem to follow the issue template. Make sure you provide all the required information. |
This is working as intended, the Firebase Storage SDK doesn't support Node.js environments right now (see: #18) Feel free to +1 that issue (with the Github reaction!) |
@jshcrowthe I am getting the same error trying to call
node version 8.9.3 |
I figured out why So you can't do this:
You have to import entire May want to fix Readme about this. |
@joonhocho That is a different issue that is probably worth taking a look at. I'll make an issue and see if we can get that addressed. |
There's a workaround, that involves adding
I don't know if this solves every issue, but it works for what I need. |
+1 |
For Using TypeScript, wrap global as any
|
Environment
Problem and steps
When using storage module on nodejs side I'll get an error.
Seems that is missing nodejs support.
Example code
The text was updated successfully, but these errors were encountered: