_reduxReactFirebase.firebase.storage is not a function(…)
See original GitHub issueHow can I access the storage using the redux-react-firebase object? With the original firebase NPM works fine.
I’m trying like this: let imgRef = firebase.storage().child('posts/' + post.slug + '.jpg');
Thanks
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
TypeError: firebase.storage is not a function - Stack Overflow
I faced the same problem. In my case, I needed to include storage module besides Firebase core. import firebase from 'firebase/app'; ...
Read more >"firebase.storage is not a function" (web) · Issue #1265 - GitHub
When I run the code (see below) I get the console error: Uncaught TypeError: firebase.storage is not a function .
Read more >JavaScript : TypeError: firebase.storage is not a function
JavaScript : TypeError: firebase. storage is not a function [ Gift : Animated Search Engine : https://bit.ly/AnimSearch ] JavaScript ...
Read more >firebase-admin.storage package - Google
Emulator Suite · Authentication · Realtime Database · Firestore · Storage · ML · Hosting · Cloud Functions.
Read more >react-redux-firebase - npm
Start using react-redux-firebase in your project by running `npm i ... and/or are not required to have your Firebase data loaded into redux, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@gazpachu its because the child function is not on storage is on storageref you need to change your code to something like:
https://firebase.google.com/docs/storage/web/create-reference
@gazpachu try to get firebase from props
this.props.firebaseand don’t forget to use the firebase decorator.