I\'m trying to understand how to upload files in Firebase Storage, using Node.js. My first try was to use the Firebase library:
"use strict"; var f
Or you could simply polyfill XmlHttpRequest like so -
XmlHttpRequest
const XMLHttpRequest = require("xhr2"); global.XMLHttpRequest = XMLHttpRequest
and import
require('firebase/storage');
That's it. All firebase.storage() methods should now work.
firebase.storage()