Storage is not a function

I am uploading image from to firebase storage recently i was doing this through a server and due to some issue i had to upload images on firebase storage but getting this error can any let me know why this occurs.
I can share the github repo link too if needederrer

Post text as text, not images. Your package.json may be relevant.