Skip to content

TypeError: app.storage is not a function - Upgrate Angular 5 to 7 - Firebase storage - @angular/fire #1978

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jaac opened this issue Dec 21, 2018 · 2 comments

Comments

@jaac
Copy link

jaac commented Dec 21, 2018

Version info

Angular:
7.1.4
Firebase:
^5.7.1
AngularFire:
^5.1.1
Other (e.g. Ionic/Cordova, Node, browser, operating system):

How to reproduce these conditions

When i try to upload a image, this error triggered, i test it in a new Angular 7 project and all works fine but in my project not
Failing test unit, Plunkr, or JSFiddle demonstrating the problem

Steps to set up and reproduce

Sample data and security rules

<-- include/attach/link to some json sample data (or provide credentials to a sanitized, test Firebase project) -->

Debug output

** Errors in the JavaScript console **

** Output from firebase.database().enableLogging(true); **

** Screenshots **

Expected behavior

Actual behavior

@jaac jaac changed the title TypeError: app.storage is not a function - Upgrate Angular 7 - Firebase storage - @angular/fire TypeError: app.storage is not a function - Upgrate Angular 5 to 7 - Firebase storage - @angular/fire Dec 21, 2018
@NurGuz23
Copy link

Any idea? same error here

@jamesdaniels
Copy link
Member

Should be addressed with all the new versions, Firebase v8 should improve the exp in Angular dramatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants