Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

Uncaught TypeError: _firebase__WEBPACK_IMPORTED_MODULE_0__.storage.ref is not a function

import firebase from 'firebase/app';
import 'firebase/storage';  // <----

firebase.initializeApp({
  ...
});
const storageRef = firebase.storage().ref();
Comment

PREVIOUS NEXT
Code Example
Javascript :: js delete json element 
Javascript :: comments js 
Javascript :: how to print console in javascript 
Javascript :: jquery onclick anchor tag scroll to div with exact position 
Javascript :: react keys 
Javascript :: javascript redirection 
Javascript :: nodejs update in mysql 
Javascript :: Check for a Null or Empty String in JavaScript 
Javascript :: A bad HTTP response code (404) was received when fetching the script. 
Javascript :: js listen localstorage change 
Javascript :: how to export mongodb database to json 
Javascript :: js contain character 
Javascript :: how to get last child element in javascript 
Javascript :: swapping variables js 
Javascript :: how to add element in arry in js 
Javascript :: what is last index of array 
Javascript :: hourglasses js 
Javascript :: js wait until 2 promises are resolved 
Javascript :: get console javascript 
Javascript :: launch uikit modal from php 
Javascript :: javascript promises 
Javascript :: bootstrap react 
Javascript :: angular capitalize pipe 
Javascript :: react - min & max for dates 
Javascript :: javascript change all text color 
Javascript :: fetch request 
Javascript :: array map javascript 
Javascript :: react native dimensions 
Javascript :: how to see if user on phone 
Javascript :: Select radio button through JQuery 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =