Following this example, I keep getting the error:
TypeError: firebase.storage is not a function
From this line in my code:
It looks like they have fixed it in a new version of the library. Just run npm update on the relevant package(s) and it should work.
npm update