TypeError: firebase.storage is not a function

前端 未结 14 1257
予麋鹿
予麋鹿 2020-11-27 14:47

Following this example, I keep getting the error:

 TypeError: firebase.storage is not a function

From this line in my code:



        
14条回答
  •  天命终不由人
    2020-11-27 15:38

    Year 2020 answer, In my case I include firebase-storage.js in .html file

      
    

    Therefore, if you use all Firebase service, you will have

    
    
      
      
      
    
    
    
    
    

提交回复
热议问题