firebase.storage().ref().put(new FileReader().readAsDataURL(e.target.files[0]))
Uncaught FirebaseError: Firebase Storage: The operation 'put' cannot be performed on a root reference, create a non-root reference using child, such as .child('file.png').