Following this example, I keep getting the error:
TypeError: firebase.storage is not a function
From this line in my code:
I encountered a similar problem when I was integrating firebase's storage on the browser (webapp)
Just add that line, and the bug is gone!