Having some trouble with file uploads. Small files work fine, but when it comes to larger ones I keep getting this error:
this.xhr_.upload.addEventListener is not a function.
I'm currently using vue.js along with the firebase 6.1.0 npm package.
The error message reads as follows:
Uncaught TypeError: this.xhr_.upload.addEventListener is not a function
at
NetworkXhrIo../node_modules/@firebase/storage/dist/index.esm.js.NetworkXhrIo.addUploadProgressListener
Even with a simple code test, the same error persists with bigger files. Following the documentation example:
var uploadTask = storageRef.child(route).put(file);
Any insights would be greatly appreciated!